Skip to content

Commit

Permalink
Use GitHub Actions cache
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Jul 11, 2021
1 parent 46ab18c commit 6a34114
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ios-commit-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-java@v1
with:
java-version: '11'
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/ios-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-java@v1
with:
java-version: '11'
Expand Down Expand Up @@ -40,8 +38,16 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
uses: actions/cache@v2
id: lfs-cache
with:
lfs: true
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
- name: Git LFS Pull
run: git lfs pull
- uses: actions/setup-java@v1
with:
java-version: '11'
Expand Down Expand Up @@ -70,8 +76,6 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-java@v1
with:
java-version: '11'
Expand Down Expand Up @@ -100,8 +104,6 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/setup-java@v1
with:
java-version: '11'
Expand Down

0 comments on commit 6a34114

Please sign in to comment.