Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ inputs:
description: 'Skip the build step'
required: false
default: 'false'
cache-retention-days:
description: 'Number of days to retain the cache artifact'
required: false
default: '1'
#endregion
runs:
using: composite
Expand Down Expand Up @@ -63,6 +67,6 @@ runs:
name: ${{ runner.os }}-${{ inputs.cache-prefix }}-turbo
path: .turbo
include-hidden-files: true
retention-days: 1
retention-days: ${{ inputs.cache-retention-days }}
if-no-files-found: error
#endregion
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
with:
load-cache: false
save-cache: true
cache-retention-days: 7
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2
Expand Down
Loading