Skip to content

Commit

Permalink
ci: upload to the wasmer registry after the release is complete
Browse files Browse the repository at this point in the history
  • Loading branch information
dynamite-bud committed Dec 22, 2023
1 parent 6ac5b72 commit 44e1da4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,12 @@ jobs:
with:
toolchain: ${{ matrix.rust }}

# If the target is wasm32-wasmer-wasi, install Wasmer and cargo-wasix
- name: Setup Wasmer
if: matrix.target == 'wasm32-wasmer-wasi'
uses: wasmerio/setup-wasmer@v2
- name: Install cargo-wasix
if: matrix.target == 'wasm32-wasmer-wasi'
uses: taiki-e/install-action@v2
with:
tool: cargo-wasix
Expand Down Expand Up @@ -217,3 +222,7 @@ jobs:
asset_path: ${{ env.ASSET }}
asset_name: ${{ env.ASSET }}
asset_content_type: application/octet-stream

- name: Publish to Wasmer registry
if: matrix.target == 'wasm32-wasmer-wasi'
run: wasmer publish --registry https://registry.wasmer.io/graphql --token=${{ secrets.WASMER_CIUSER_PROD_TOKEN }} --non-interactive

0 comments on commit 44e1da4

Please sign in to comment.