Skip to content

Commit

Permalink
Update caching.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wulfland authored Apr 28, 2022
1 parent 9881abf commit 99620c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/caching.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
id: cache-primes
uses: actions/cache@v3
with:
path: prime-numbers
path: primes
key: ${{ runner.os }}-primes

- name: Generate Prime Numbers
if: steps.cache-primes.outputs.cache-hit != 'true'
run: |
sleep 45
echo "1 2 3..." > prime-numbers
sleep 60
echo "1 2 3..." > primes
- name: Use Prime Numbers
run: cat prime-numbers
run: cat primes

0 comments on commit 99620c9

Please sign in to comment.