We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 876baea commit 786daa7Copy full SHA for 786daa7
1 file changed
.github/workflows/rust.yml
@@ -176,6 +176,24 @@ jobs:
176
env:
177
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
178
179
+ publish-crates-io:
180
+ if: startsWith(github.ref, 'refs/tags/')
181
+ needs: [build]
182
+ runs-on: ubuntu-22.04
183
+ steps:
184
+ - name: Checkout
185
+ uses: actions/checkout@v4
186
+ - name: Install Toolchain
187
+ uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
188
+ with:
189
+ toolchain: 1.88.0
190
+ - name: Cache
191
+ uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # pin@v2
192
+ - name: Publish to crates.io
193
+ run: cargo publish --package squawk
194
+ env:
195
+ CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
196
+
197
publish-docker:
198
if: startsWith(github.ref, 'refs/tags/')
199
needs: [build]
0 commit comments