Skip to content

Commit e2fd8d9

Browse files
committed
Chore: Disable cache where secrets are used
To reduce risk of secrets being left in the cache
1 parent b2971b1 commit e2fd8d9

File tree

4 files changed

+3
-29
lines changed

4 files changed

+3
-29
lines changed

.github/workflows/android-play-store.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: "./.github/shared_workflows/install_apt_dependencies"
2424

2525
- name: Setup cache
26-
uses: actions/cache@v4
26+
uses: actions/cache/restore@v4
2727
with:
2828
path: |
2929
.dart_tool/

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: "./.github/shared_workflows/install_apt_dependencies"
2626

2727
- name: Setup cache
28-
uses: actions/cache@v4
28+
uses: actions/cache/restore@v4
2929
with:
3030
path: |
3131
.dart_tool/
@@ -106,7 +106,7 @@ jobs:
106106
- uses: "./.github/shared_workflows/install_apt_dependencies"
107107

108108
- name: Setup cache
109-
uses: actions/cache@v4
109+
uses: actions/cache/restore@v4
110110
with:
111111
path: |
112112
.dart_tool/

.github/workflows/ios.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,6 @@ jobs:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
3030

31-
- name: Setup cache
32-
uses: actions/cache@v4
33-
with:
34-
path: |
35-
.dart_tool/
36-
build/
37-
.flutter-plugins
38-
.flutter-plugins-dependencies
39-
pubspec.lock
40-
key: ${{ runner.OS }}-saber-${{ hashFiles('**/pubspec.lock') }}-${{ hashFiles('**/*.dart') }}
41-
restore-keys: |
42-
${{ runner.OS }}-saber-
43-
4431
- name: Install Flutter
4532
uses: subosito/flutter-action@v2
4633
with:

.github/workflows/macos.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,6 @@ jobs:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
3030

31-
- name: Setup cache
32-
uses: actions/cache@v4
33-
with:
34-
path: |
35-
.dart_tool/
36-
build/
37-
.flutter-plugins
38-
.flutter-plugins-dependencies
39-
pubspec.lock
40-
key: ${{ runner.OS }}-saber-${{ hashFiles('**/pubspec.lock') }}-${{ hashFiles('**/*.dart') }}
41-
restore-keys: |
42-
${{ runner.OS }}-saber-
43-
4431
- name: Install Flutter
4532
uses: subosito/flutter-action@v2
4633
with:

0 commit comments

Comments
 (0)