-
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into secrets_backend
- Loading branch information
Showing
7 changed files
with
24,622 additions
and
3 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,32 @@ | ||
name: Cache to Artifact | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
cacheKey: | ||
description: 'Cache Key Hash' | ||
required: true | ||
|
||
jobs: | ||
cache-to-artifact: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Restore cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: image.tar | ||
key: ghcr.io/kreneskyp/ix/nodejs:${{ github.event.inputs.cacheKey }} | ||
|
||
- name: Archive cache | ||
run: | | ||
tar -czf cache.${{ github.event.inputs.cacheKey }}.tar.gz image.tar | ||
- name: Upload cache as artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: cache-artifact | ||
path: cache.${{ github.event.inputs.cacheKey }}.tar.gz |
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
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
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
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
Oops, something went wrong.