diff options
Diffstat (limited to '.github/workflows/release.yml')
| -rw-r--r-- | .github/workflows/release.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2fed028 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,38 @@ +name: Release + +on: + push: + tags: + - v* + +permissions: + contents: write + packages: write + checks: write + +jobs: + build: + uses: ./.github/workflows/build_cxx_sysroot.yml + + release: + runs-on: ubuntu-latest + needs: build + steps: + - name: Download artifacts + uses: actions/download-artifact@v3 + with: + name: wasix-sysroot + path: wasix-sysroot + + - name: Create published artifacts + run: | + mkdir publish + tar -czf publish/sysroot.tar.gz wasix-sysroot + + - name: Publish + uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + draft: true + automatic_release_tag: "${{ github.ref_name }}" + files: publish/* |
