File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 17
17
outputs :
18
18
sources : ${{ steps.filter.outputs.sources }}
19
19
steps :
20
- # For pull requests it's not necessary to checkout the code
20
+ - uses : actions/checkout@v4
21
+ if : github.event_name == 'push'
21
22
- uses : dorny/paths-filter@v3
22
23
id : filter
23
24
with :
29
30
- .github/workflows/motoko-counter-example.yaml
30
31
motoko-counter-example-darwin :
31
32
needs : changes
32
- if : ${{ needs.changes.outputs.sources == 'true' }}
33
+ if : github.event_name == 'push' || needs.changes.outputs.sources == 'true'
33
34
runs-on : macos-12
34
35
steps :
35
36
- uses : actions/checkout@v1
43
44
popd
44
45
motoko-counter-example-linux :
45
46
needs : changes
46
- if : ${{ needs.changes.outputs.sources == 'true' }}
47
+ if : github.event_name == 'push' || needs.changes.outputs.sources == 'true'
47
48
runs-on : ubuntu-20.04
48
49
steps :
49
50
- uses : actions/checkout@v1
You can’t perform that action at this time.
0 commit comments