chore: upgrade to latest wasmbuild internally #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: [push, pull_request] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dsherret/rust-toolchain-file@v1 | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
save-if: ${{ github.ref == 'refs/heads/main' }} | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Build | |
run: deno task build | |
# add back once https://github.com/denoland/deno/issues/22658 is fixed | |
# - name: Publish package (Dry run) | |
# if: ${{ github.ref != 'refs/heads/main' }} | |
# run: deno publish --dry-run | |
- name: Publish package | |
if: ${{ github.ref == 'refs/heads/main' }} | |
run: deno publish |