Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
flc1125 committed Sep 22, 2023
1 parent 40d278a commit e723e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
restore-keys: |
${{ runner.os }}-cache- # 备选标识(多个换行)
- run: sleep 10 && echo "Hello world" > ~/test/1.log
- run: sleep 5 && echo "Hello world" > ~/test/1.log
if: steps.cache-test.outputs.cache-hit != 'true' # 若缓存没命中

- run: sleep 10 && echo "Hello world" > ~/test/2.log
- run: sleep 5 && echo "Hello world" > ~/test/2.log
if: steps.cache-test.outputs.cache-hit != 'true'

- run: cat ~/test/*.log
Expand Down

0 comments on commit e723e9b

Please sign in to comment.