Skip to content

Commit 6b0811a

Browse files
committed
chore: Remove action cache from staging
Caching isn't supported for the issue_comment event
1 parent 247100d commit 6b0811a

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/upload-to-staging.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,8 @@ jobs:
3737
service_account_key: ${{ secrets.GCP_SA_KEY }}
3838
export_default_credentials: true
3939

40-
- uses: actions/cache@v1
41-
if: steps.comment.outputs.result == 'true'
42-
with:
43-
path: ~/.npm
44-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
45-
restore-keys: |
46-
${{ runner.os }}-node-
47-
4840
- name: Install Dependencies
49-
if: steps.cache.outputs.cache-hit != 'true' && steps.comment.outputs.result == 'true'
41+
if: steps.comment.outputs.result == 'true'
5042
run: npm ci
5143

5244
- name: Run Gatsby Build

0 commit comments

Comments
 (0)