We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e4dc8 commit 04dcb2cCopy full SHA for 04dcb2c
.github/workflows/crates.yml
@@ -0,0 +1,21 @@
1
+name: Publish to Crates
2
+on:
3
+ release:
4
+ types: [created]
5
+ workflow_dispatch:
6
+
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v2
13
+ - name: Install stable toolchain
14
+ uses: actions-rs/toolchain@v1
15
+ with:
16
+ profile: minimal
17
+ toolchain: stable
18
+ override: true
19
+ - run: cargo publish --token ${CRATES_TOKEN}
20
+ env:
21
+ CRATES_TOKEN: ${{ secrets.CRATES_GBPROD_GITCOMMIT }}
.github/workflows/npm.yml
@@ -2,6 +2,8 @@ name: Publish to NPM
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
0 commit comments