Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame authored Nov 4, 2023
1 parent fa26d76 commit 2f295fa
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,29 @@ jobs:
name: 'Find default go version'
runs-on: ubuntu-latest
steps:
- run: |
- name: f1
run: |
echo "111" > f1.txt
echo "222" > f2.txt
echo "bbb" > /tmp/f
echo "Hash 0"
echo ${{ hashFiles('**/*.txt /tmp/f') }}
- name: h1
env:
h: ${{ hashFiles('**/*.txt /tmp/f') }}
run: echo "Hash $h"

- name: f2
run: |
echo "111" >> f1.txt
echo "Hash 1"
echo ${{ hashFiles('**/*.txt /tmp/f') }}
- name: h2
env:
h: ${{ hashFiles('**/*.txt /tmp/f') }}
run: echo "Hash $h"

- name: f3
run: |
echo "bbb" >> /tmp/f
echo "Hash 2"
echo ${{ hashFiles('**/*.txt /tmp/f') }}
- name: h3
env:
h: ${{ hashFiles('**/*.txt /tmp/f') }}
run: echo "Hash $h"

0 comments on commit 2f295fa

Please sign in to comment.