ci: update publish workflow
Some checks failed
CI / build-and-test (push) Has been cancelled

This commit is contained in:
Kristofers Solo 2025-09-25 11:12:43 +03:00
parent 523cf95b6b
commit 087fdc7ea5
Signed by: kristoferssolo
GPG Key ID: 74FF8144483D82C8

View File

@ -15,10 +15,9 @@ on:
jobs:
audit:
name: Audit
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions-rust-lang/audit@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
@ -28,11 +27,17 @@ jobs:
- audit
runs-on: ubuntu-latest
timeout-minutes: 25
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy, rustfmt
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
- name: cargo-release Cache
id: cargo_release_cache
uses: actions/cache@v4
@ -60,11 +65,4 @@ jobs:
# to the tag while building, which is a detached head
run: |
cargo release \
publish \
--workspace \
--all-features \
--allow-branch HEAD \
--no-confirm \
--no-verify \
--execute
cargo release publish --workspace --all-features --allow-branch HEAD --no-confirm --no-verify --execute