Skip to content

Commit

Permalink
Add crates token to github action
Browse files Browse the repository at this point in the history
Also looks like when publishing it should automatically take care of
converting paths to versions.
  • Loading branch information
mlieberman85 committed Apr 15, 2024
1 parent 97d34be commit 9426922
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,10 @@ jobs:
run: cargo install cargo-release
- name: Public to crates.io
if: startsWith(github.ref, 'refs/tags/')
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo release -p skootrs-model --execute
cargo release -p skootrs-lib --execute
cargo release -p skootrs-statestore --execute
cargo release -p skootrs-rest --execute
cargo release -p skootrs-bin --execute
cargo release --execute --no-confirm
sbom:
permissions:
contents: write
Expand Down

0 comments on commit 9426922

Please sign in to comment.