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:
|
||||
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…
x
Reference in New Issue
Block a user