We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba6532f commit ae0b9d3Copy full SHA for ae0b9d3
1 file changed
.github/workflows/build.yaml
@@ -76,9 +76,17 @@ jobs:
76
name: test-results-${{ matrix.os }}
77
path: '*/build/reports'
78
79
+ check-publish:
80
+ needs: [test]
81
+ name: check publish
82
+
83
+ runs-on: ubuntu-latest
84
+ if: >-
85
+ github.actor != 'dependabot[bot]' &&
86
+ github.actor == 'hauner' && contains(needs.version.outputs.BUILD_VERSION, 'SNAPSHOT')
87
88
publish:
- if: contains(needs.version.outputs.BUILD_VERSION, 'SNAPSHOT') && github.actor == 'hauner'
- needs: [version, test]
89
+ needs: [check-publish]
90
name: publish snapshot
91
92
runs-on: ubuntu-latest
0 commit comments