Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include WASI artifacts as part of the release workflow #21

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/package_wasi/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ inputs:
wasisdk_version:
required: true
description: "WASI SDK version"
include_build_artifacts:
required: false
default: false
description: "Include build artifacts (such as `.a` files)"
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -77,4 +81,4 @@ runs:
${{ env.HOST_PYTHON_DIR }}/Modules/expat/libexpat.a
${{ env.HOST_PYTHON_DIR }}/Programs/python.o
if-no-files-found: error
if: "false"
if: inputs.include_build_artifacts
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ jobs:
id: package
with:
wasisdk_version: "${{ inputs.wasisdk_version }}"
include_build_artifacts: true
- name: Upload artifact
uses: actions/upload-release-asset@v1
env:
Expand Down