Skip to content

Commit

Permalink
change action cache key for growl
Browse files Browse the repository at this point in the history
to prevent to use an empty cache file

Signed-off-by: Outsider <outsideris@gmail.com>
  • Loading branch information
outsideris committed Jan 5, 2021
1 parent c21a90f commit 36e8269
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/mocha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ jobs:
uses: actions/cache@v2
with:
path: GrowlInstaller
key: '${{ runner.os }}-growl-installer'
key: ${{ runner.os }}-growl-installer-${{ hashFiles('**/GrowlInstaller\Growl_v2.0.msi') }}
restore-keys: |
${{ runner.os }}-growl-installer
${{ runner.os }}-growl-installer-
- name: Download Growl Installer (Windows)
if: "${{ matrix.os == 'windows-2019' && steps.cache-growl.outputs.cache-hit != 'true'}}"
run: >
Expand All @@ -143,9 +143,9 @@ jobs:
uses: actions/cache@v2
with:
path: GrowlInstaller
key: '${{ runner.os }}-growl-installer'
key: ${{ runner.os }}-growl-installer-${{ hashFiles('**/GrowlInstaller/Growl_v2.0.msi') }}
restore-keys: |
${{ runner.os }}-growl-installer
${{ runner.os }}-growl-installer-
- name: Add Growl Installer to Path (Windows)
if: "${{ matrix.os == 'windows-2019' }}"
run: 'echo "C:\Program Files (x86)\Growl for Windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8'
Expand Down

0 comments on commit 36e8269

Please sign in to comment.