File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1717 outputs :
1818 sources : ${{ steps.filter.outputs.sources }}
1919 steps :
20- # For pull requests it's not necessary to checkout the code
20+ - uses : actions/checkout@v4
21+ if : github.event_name == 'push'
2122 - uses : dorny/paths-filter@v3
2223 id : filter
2324 with :
2930 - .github/workflows/motoko-counter-example.yaml
3031 motoko-counter-example-darwin :
3132 needs : changes
32- if : ${{ needs.changes.outputs.sources == 'true' }}
33+ if : github.event_name == 'push' || needs.changes.outputs.sources == 'true'
3334 runs-on : macos-12
3435 steps :
3536 - uses : actions/checkout@v1
4344 popd
4445 motoko-counter-example-linux :
4546 needs : changes
46- if : ${{ needs.changes.outputs.sources == 'true' }}
47+ if : github.event_name == 'push' || needs.changes.outputs.sources == 'true'
4748 runs-on : ubuntu-20.04
4849 steps :
4950 - uses : actions/checkout@v1
You can’t perform that action at this time.
0 commit comments