Release #83
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: Release | |
on: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
- name: Setup actions/cache for Deno | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/deno | |
key: ubuntu-latest-deno-${{ hashFiles('./deno.lock') }} | |
restore-keys: ubuntu-latest-deno | |
- name: Setup actions/cache for Cargo | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo | |
./core/deno_lockfile/target | |
key: ubuntu-latest-cargo-${{ hashFiles('./**/Cargo.lock') }} | |
restore-keys: ubuntu-latest-cargo | |
- name: Build core/deno_lockfile | |
run: | | |
cd core/deno_lockfile | |
deno task build | |
- name: Publish packages to JSR | |
run: npx jsr publish |