Skip to content

Commit

Permalink
Fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wh201906 committed May 18, 2023
1 parent 3ec899f commit 48224ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@ jobs:
restore-keys: |
proxspace-${{ hashFiles('./proxspace.zip') }}-
- name: Check Cache
id: check-cache
continue-on-error: true
run: cd C:/ProxSpace

- name: ProxSpace extract
if: ${{ !contains(steps.check-cache.outcome, 'success') }}
run: Expand-Archive -LiteralPath "C:\proxspace.zip" -DestinationPath "C:\"

- name: ProxSpace delete zip
Expand All @@ -58,6 +64,7 @@ jobs:
Remove-Item "./proxspace.zip"
- name: ProxSpace rename folder
if: ${{ !contains(steps.check-cache.outcome, 'success') }}
run: Get-ChildItem -Path "C:\ProxSpace-*" | Rename-Item -NewName (Split-Path C:\ProxSpace -Leaf)

- name: ProxSpace version
Expand Down

0 comments on commit 48224ba

Please sign in to comment.