mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
CI: fix post run cache (#31078)
* post cache only * fix * newline * really github??? old-commit-hash: c907dd9e7026d0ed5f7ab765b035714c341361cb
This commit is contained in:
@@ -24,9 +24,17 @@ runs:
|
||||
with:
|
||||
path: ${{ inputs.path }}
|
||||
|
||||
- name: restore github cache
|
||||
if: ${{ !contains(runner.name, 'nsc') }}
|
||||
uses: actions/cache/restore@v3
|
||||
- name: setup github cache
|
||||
if: ${{ !contains(runner.name, 'nsc') && inputs.save != 'false' }}
|
||||
uses: 'actions/cache@v3'
|
||||
with:
|
||||
path: ${{ inputs.path }}
|
||||
key: ${{ inputs.key }}
|
||||
restore-keys: ${{ inputs.restore-keys }}
|
||||
|
||||
- name: setup github cache
|
||||
if: ${{ !contains(runner.name, 'nsc') && inputs.save == 'false' }}
|
||||
uses: 'actions/cache/restore@v3'
|
||||
with:
|
||||
path: ${{ inputs.path }}
|
||||
key: ${{ inputs.key }}
|
||||
@@ -36,10 +44,3 @@ runs:
|
||||
- id: scons-cache-setup
|
||||
shell: bash
|
||||
run: mkdir -p ${{ inputs.path }}
|
||||
|
||||
- name: save github cache
|
||||
if: ${{ !contains(runner.name, 'nsc') && inputs.save != 'false' }}
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: ${{ inputs.path }}
|
||||
key: ${{ inputs.key }}
|
||||
|
||||
Reference in New Issue
Block a user