mirror of
https://github.com/kristoferssolo/filecaster.git
synced 2025-10-21 19:00:34 +00:00
This commit is contained in:
parent
523cf95b6b
commit
087fdc7ea5
24
.github/workflows/publish.yml
vendored
24
.github/workflows/publish.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user