File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 1- name : Download cache and Upload
1+ name : Download Specific Cache
22
33on :
4- push :
5-
4+ workflow_dispatch : # Allows manual trigger from the Actions tab
5+
66jobs :
7- cache-upload :
7+ download-cache :
88 runs-on : ubuntu-latest
9+
910 steps :
10- - name : Checkout
11+ - name : Checkout repository
1112 uses : actions/checkout@v4
1213
13- - name : Cache dependencies
14+ # Restore the cache you want
15+ - name : Restore Cache
1416 uses : actions/cache@v4
1517 with :
16- path : ./cache-folder
18+ path : ./mycache
1719 key : ximera-main-a6baae8a83be8e55be8c8132ec6ad24a8f4c5ed0
18- # key: ${{ github.event.inputs.cache_key }}
1920
20- - name : Upload cached folder as artifact
21- uses : actions/upload-artifact@v4
21+ # Upload the restored cache as an artifact
22+ - name : Upload Cache as Artifact
23+ uses : actions/upload-artifact@v3
2224 with :
23- name : cache-artifact
24- path : ./cache-folder
25+ name : downloaded-cache
26+ path : ./mycache
You can’t perform that action at this time.
0 commit comments