File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77
8+ env :
9+ CARGO_TERM_COLOR : always
10+ RUST_VERSION : 1.87.0
11+
812permissions :
913 id-token : write # Required for OIDC
1014 contents : write
3034 runs-on : ubuntu-latest
3135 steps :
3236 - uses : actions/checkout@v4
37+ - name : Install Rust ${{ env.RUST_VERSION }}
38+ run : rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt && rustup default ${{ env.RUST_VERSION }}
39+ - name : Cache
40+ uses : Swatinem/rust-cache@v2
3341 - uses : actions/setup-node@v4
3442 with :
35- node-version : lts/*
36- registry-url : ' https://registry.npmjs.org'
43+ node-version-file : ' package.json'
3744 - run : npm install -g npm@latest
45+ - run : npm install && npm run build
3846 - run : npm publish --access public
You can’t perform that action at this time.
0 commit comments