Skip to content

Commit

Permalink
[skip-ci] Use Theos caching
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-psi authored Jan 13, 2022
1 parent 044bcdb commit e18c282
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ jobs:
uses: actions/checkout@v2
with:
submodules: true
-
name: Check cache
id: verify-cache
run: |
echo "::set-output name=heads::`git ls-remote https://github.com/theos/theos | head -n 1 | cut -f 1`-`git ls-remote https://github.com/theos/sdks | head -n 1 | cut -f 1`"
-
name: Use cache
id: cache
uses: actions/cache@v2
with:
path: ${{ github.workspace }}/theos
key: ${{ runner.os }}-${{ steps.verify-cache.outputs.heads }}
-
name: Setup Theos
uses: Randomblock1/theos-action@v1
Expand Down

0 comments on commit e18c282

Please sign in to comment.