Skip to content

Commit d4a427c

Browse files
authored
Update ci.yml
1 parent dcae7db commit d4a427c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
mkdir runtime/graylog/plugin
6464
cp ${{ steps.requestPom.outputs.JAR_PATH }} runtime/graylog/plugin
6565
- name: Package signed .rpm
66-
if: !endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
66+
if: endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
6767
working-directory: plugin
6868
env:
6969
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
@@ -73,7 +73,7 @@ jobs:
7373
echo -n "$GPG_PRIVATE_KEY" | gpg2 --batch --allow-secret-key-import --import
7474
rpm --define "_gpg_name Airbus CyberSecurity" --define "_gpg_sign_cmd_extra_args --pinentry-mode loopback --passphrase $PASSPHRASE" --addsign "${{ steps.requestPom.outputs.RPM_PATH }}"
7575
- name: Package signed .deb
76-
if: !endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
76+
if: endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
7777
working-directory: plugin
7878
env:
7979
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
@@ -93,14 +93,14 @@ jobs:
9393
path: plugin/${{ steps.requestPom.outputs.JAR_PATH }}
9494
if-no-files-found: error
9595
- name: Archive .rpm
96-
if: !endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
96+
if: endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
9797
uses: actions/upload-artifact@v3
9898
with:
9999
name: rpm
100100
path: plugin/${{ steps.requestPom.outputs.RPM_PATH }}
101101
if-no-files-found: error
102102
- name: Archive .deb
103-
if: !endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
103+
if: endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
104104
uses: actions/upload-artifact@v3
105105
with:
106106
name: deb

0 commit comments

Comments
 (0)