mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
Fix cache workflow (#746)
* use proper comparison * Revert "use proper comparison" This reverts commit 0271ea3d5c5cf433751e99cc13f5274af0e5092a. * bruh
This commit is contained in:
parent
bafd52a37e
commit
512e2f5421
4
.github/actions/cache-rust-deps/action.yaml
vendored
4
.github/actions/cache-rust-deps/action.yaml
vendored
@ -4,7 +4,7 @@ inputs:
|
|||||||
save-cache:
|
save-cache:
|
||||||
description: Whether to save the Rust cache
|
description: Whether to save the Rust cache
|
||||||
required: false
|
required: false
|
||||||
default: 'false'
|
default: "false"
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
@ -12,4 +12,4 @@ runs:
|
|||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
shared-key: rust-deps
|
shared-key: rust-deps
|
||||||
save-if: ${{ inputs.save-cache }} == "true"
|
save-if: ${{ inputs.save-cache }}
|
||||||
|
|||||||
4
.github/actions/setup/action.yml
vendored
4
.github/actions/setup/action.yml
vendored
@ -4,7 +4,7 @@ inputs:
|
|||||||
save-cache:
|
save-cache:
|
||||||
description: Whether to save the Rust cache
|
description: Whether to save the Rust cache
|
||||||
required: false
|
required: false
|
||||||
default: 'false'
|
default: "false"
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
@ -22,7 +22,7 @@ runs:
|
|||||||
- name: Cache Rust deps
|
- name: Cache Rust deps
|
||||||
uses: ./.github/actions/cache-rust-deps
|
uses: ./.github/actions/cache-rust-deps
|
||||||
with:
|
with:
|
||||||
save-cache: ${{ inputs.save-cache }} == "true"
|
save-cache: ${{ inputs.save-cache }}
|
||||||
|
|
||||||
- name: Run 'setup-system.sh' script
|
- name: Run 'setup-system.sh' script
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
1
.github/workflows/cache-factory.yaml
vendored
1
.github/workflows/cache-factory.yaml
vendored
@ -6,6 +6,7 @@ name: Cache Factory
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- fix-releases
|
||||||
- main
|
- main
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user