Skip to content

Commit

Permalink
try cache
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-bee committed Oct 24, 2024
1 parent ff6a89d commit 69b4640
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ try-cache ]

jobs:
build:
jobone:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -23,9 +23,14 @@ jobs:
echo "Dummy file created at $(date)" > foo/bin/dummy.txt
echo "Cache updated"
jobtwo:
needs: jobone
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Use cached bin folder
run: |
ls -la foo/bin/
cat foo/bin/dummy.txt

0 comments on commit 69b4640

Please sign in to comment.