Skip to content

Commit

Permalink
Add job to publish to crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
nateledford committed Jun 20, 2024
1 parent 6094fe2 commit 4019c5b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,19 @@ jobs:
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

publish:
needs:
- format
- check
- build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@4
- name: Setup Rust Toolchain for GitHub CI
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 4019c5b

Please sign in to comment.