63
63
mkdir runtime/graylog/plugin
64
64
cp ${{ steps.requestPom.outputs.JAR_PATH }} runtime/graylog/plugin
65
65
- name : Package signed .rpm
66
- if : ! endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
66
+ if : endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
67
67
working-directory : plugin
68
68
env :
69
69
GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
73
73
echo -n "$GPG_PRIVATE_KEY" | gpg2 --batch --allow-secret-key-import --import
74
74
rpm --define "_gpg_name Airbus CyberSecurity" --define "_gpg_sign_cmd_extra_args --pinentry-mode loopback --passphrase $PASSPHRASE" --addsign "${{ steps.requestPom.outputs.RPM_PATH }}"
75
75
- name : Package signed .deb
76
- if : ! endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
76
+ if : endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
77
77
working-directory : plugin
78
78
env :
79
79
GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
@@ -93,14 +93,14 @@ jobs:
93
93
path : plugin/${{ steps.requestPom.outputs.JAR_PATH }}
94
94
if-no-files-found : error
95
95
- name : Archive .rpm
96
- if : ! endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
96
+ if : endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
97
97
uses : actions/upload-artifact@v3
98
98
with :
99
99
name : rpm
100
100
path : plugin/${{ steps.requestPom.outputs.RPM_PATH }}
101
101
if-no-files-found : error
102
102
- name : Archive .deb
103
- if : ! endsWith(steps.requestPom.outputs.VERSION, 'SNAPSHOT')
103
+ if : endsWith(steps.requestPom.outputs.VERSION,'SNAPSHOT') == false
104
104
uses : actions/upload-artifact@v3
105
105
with :
106
106
name : deb
0 commit comments