Skip to content

Commit 97a0abe

Browse files
committed
fix workflow
1 parent 1a7ec08 commit 97a0abe

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,9 @@ jobs:
8585
name: check publish
8686

8787
runs-on: ubuntu-latest
88-
env:
89-
IS_ME: ${{ github.actor == 'hauner' }}
90-
IS_DEPENDABOT: ${{ github.actor == 'dependabot[bot]' }}
91-
IS_SNAPSHOT: ${{ contains(needs.version.outputs.BUILD_VERSION, 'SNAPSHOT') }}
92-
93-
if: IS_ME && IS_SNAPSHOT && !IS_DEPENDABOT
88+
if: >-
89+
github.actor != 'dependabot[bot]' &&
90+
github.actor == 'hauner' && contains(needs.version.outputs.BUILD_VERSION, 'SNAPSHOT')
9491
9592
steps:
9693
- run: echo "should publish ..."

0 commit comments

Comments
 (0)