Debian Codegraph @

.github/workflows/publish.yaml

raw symbols SCIP
1 on:
2 push:
3 tags:
4 - 'v*' # Push events to every tag not containing /
5 workflow_dispatch:
6
7 name: Publish
8
9 jobs:
10 publish:
11 name: Publish
12 runs-on: ubuntu-latest
13 environment: crates-io
14 permissions:
15 id-token: write
16 steps:
17 - name: Checkout sources
18 uses: actions/checkout@v6
19
20 - name: Install stable toolchain
21 uses: actions-rs/toolchain@v1
22 with:
23 profile: minimal
24 toolchain: stable
25 override: true
26
27 - name: Authenticate with crates.io
28 uses: rust-lang/crates-io-auth-action@v1
29 id: auth
30
31 - run: cargo publish
32 env:
33 CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}