-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try refreshing cache entries from workflow dispatch
- Loading branch information
Showing
2 changed files
with
33 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
name: Refresh Tugboat Preview ID Cache - Dispatch | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
key: | ||
description: 'Cache key of the entry to be refreshed' | ||
required: false | ||
type: string | ||
jobs: | ||
# Refresh cache for given keys | ||
refresh_cache: | ||
name: Refresh cache for given keys | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Refresh Preview ID | ||
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | ||
with: | ||
path: .tugboat_preview.txt | ||
key: ${{ inputs.key }} | ||
- name: Cleanup temporary file | ||
run: rm .tugboat_preview.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters