1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-30 23:59:16 +01:00

Merge pull request #816 from lobis/main

Fixed bad yaml in README example
This commit is contained in:
Vipul 2022-06-21 09:55:20 +05:30 committed by GitHub
commit a080a3bda4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,33 +172,33 @@ jobs:
build-linux: build-linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache Primes - name: Cache Primes
id: cache-primes id: cache-primes
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: prime-numbers path: prime-numbers
key: primes key: primes
- name: Generate Prime Numbers - name: Generate Prime Numbers
if: steps.cache-primes.outputs.cache-hit != 'true' if: steps.cache-primes.outputs.cache-hit != 'true'
run: ./generate-primes.sh -d prime-numbers run: ./generate-primes.sh -d prime-numbers
- name: Cache Numbers - name: Cache Numbers
id: cache-numbers id: cache-numbers
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: numbers path: numbers
key: primes key: primes
- name: Generate Numbers - name: Generate Numbers
if: steps.cache-numbers.outputs.cache-hit != 'true' if: steps.cache-numbers.outputs.cache-hit != 'true'
run: ./generate-primes.sh -d numbers run: ./generate-primes.sh -d numbers
build-windows: build-windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache Primes - name: Cache Primes