Update report #1119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cache | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Primes | |
id: cache-primes | |
uses: actions/cache@v2 | |
with: | |
path: prime-numbers | |
key: ${{ runner.os }}-primes | |
- name: Generate Prime Numbers | |
if: steps.cache-primes.outputs.cache-hit != 'true' | |
run: echo "generates prime-numbers" | |
- name: Use Prime Numbers | |
run: echo "use prime-numbers" |