We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88efdfb commit 1b79832Copy full SHA for 1b79832
1 file changed
.github/workflows/build.yaml
@@ -48,10 +48,20 @@ jobs:
48
name: test-results-${{ matrix.os }}
49
path: build/reports
50
51
- publish:
52
- if: ${{ github.actor == 'hauner' }}
53
-
+ check-publish:
54
needs: [test]
+ name: check publish
+
55
+ runs-on: ubuntu-latest
56
+ if: >-
57
+ github.actor != 'dependabot[bot]' &&
58
+ github.actor == 'hauner' && contains(needs.version.outputs.BUILD_VERSION, 'SNAPSHOT')
59
60
+ steps:
61
+ - run: echo "should publish ..."
62
63
+ publish:
64
+ needs: [check-publish]
65
name: publish snapshot
66
67
runs-on: ubuntu-latest
0 commit comments