mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00:00
Fix cache workflow (#746)
* use proper comparison
* Revert "use proper comparison"
This reverts commit 0271ea3d5c
.
* bruh
This commit is contained in:
parent
27b1509ee6
commit
46db121a09
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:
|
||||
description: Whether to save the Rust cache
|
||||
required: false
|
||||
default: 'false'
|
||||
default: "false"
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
@ -12,4 +12,4 @@ runs:
|
|||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
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:
|
||||
description: Whether to save the Rust cache
|
||||
required: false
|
||||
default: 'false'
|
||||
default: "false"
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
|
@ -22,7 +22,7 @@ runs:
|
|||
- name: Cache Rust deps
|
||||
uses: ./.github/actions/cache-rust-deps
|
||||
with:
|
||||
save-cache: ${{ inputs.save-cache }} == "true"
|
||||
save-cache: ${{ inputs.save-cache }}
|
||||
|
||||
- name: Run 'setup-system.sh' script
|
||||
shell: bash
|
||||
|
|
1
.github/workflows/cache-factory.yaml
vendored
1
.github/workflows/cache-factory.yaml
vendored
|
@ -6,6 +6,7 @@ name: Cache Factory
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- fix-releases
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
|
|
Loading…
Reference in a new issue