File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
.github/actions/check-publish Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : check-publish
2+ description : check if it should publish the build
3+ runs :
4+ using : ' composite'
5+ steps :
6+ - name : check publish
7+ id : check-publish
8+ shell : bash
9+
10+ run : |
11+ echo "should publish ..."
12+ echo version BUILD_VERSION ${{needs.version.outputs.BUILD_VERSION}}
13+ echo version-test BUILD_VERSION ${{needs.version-test.outputs.BUILD_VERSION}}
14+
15+
16+ check-publish :
17+ needs : [version, test]
18+ name : check publish
19+
20+ runs-on : ubuntu-latest
21+ if : >-
22+ github.actor != 'dependabot[bot]' &&
23+ github.actor == 'hauner' && contains(needs.version.outputs.BUILD_VERSION, 'SNAPSHOT')
24+
25+ steps :
26+ - run : |
27+ echo "should publish ..."
28+ echo version BUILD_VERSION ${{needs.version.outputs.BUILD_VERSION}}
29+ echo version-test BUILD_VERSION ${{needs.version-test.outputs.BUILD_VERSION}}
You can’t perform that action at this time.
0 commit comments