mirror of
https://github.com/fluencelabs/aquavm
synced 2025-03-15 04:30:48 +00:00
chore: Save cache in cargo snapshot workflow (#658)
* Save cache in cargo snapshot workflow * Run on builder * Typo
This commit is contained in:
parent
ee3c8076db
commit
cb156acae4
@ -37,10 +37,7 @@ jobs:
|
||||
with:
|
||||
cache-directories: ~/.cache/sccache
|
||||
shared-key: aquavm
|
||||
# github allows only 10GB of cache
|
||||
# so save cache only on merge to master
|
||||
# to use less space and speed up CI
|
||||
save-if: ${{ github.event_name == 'push' }}
|
||||
save-if: false
|
||||
|
||||
- name: Setup sccache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
|
7
.github/workflows/snapshot-cargo.yml
vendored
7
.github/workflows/snapshot-cargo.yml
vendored
@ -19,7 +19,7 @@ on:
|
||||
jobs:
|
||||
snapshots:
|
||||
name: "Publish crates"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: builder
|
||||
timeout-minutes: 60
|
||||
|
||||
env:
|
||||
@ -61,7 +61,10 @@ jobs:
|
||||
with:
|
||||
cache-directories: ~/.cache/sccache
|
||||
shared-key: aquavm
|
||||
save-if: false
|
||||
# github allows only 10GB of cache
|
||||
# so save cache only on merge to master
|
||||
# to use less space and speed up CI
|
||||
save-if: ${{ github.event_name == 'push' }}
|
||||
|
||||
- name: Setup sccache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user