Skip to content

Commit

Permalink
conditional cache
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoAhoy committed Aug 25, 2021
1 parent 457ad68 commit 1bdcfa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
run: echo "::set-output name=JUICEFS_VERSION::$(make -s print_libjfs_version)"

- name: Cache juicefs and libjfs binary linux/windows
if: matrix.os == 'ubuntu-18.04'
uses: actions/cache@v2
id: jfs-cache-win-linux
with:
Expand All @@ -30,6 +31,7 @@ jobs:
./juicefs/lib/juicefs.exe
key: ${{ matrix.os }}-jfs-binary-${{ steps.jfs-version.outputs.JUICEFS_VERSION }}
- name: Cache juicefs and libjfs mac
if: matrix.os == 'macos-latest'
uses: actions/cache@v2
id: jfs-cache-mac
with:
Expand Down

0 comments on commit 1bdcfa9

Please sign in to comment.