54
54
New-Item -ItemType directory -Path installer
55
55
New-Item -ItemType directory -Path to_publish
56
56
New-Item -ItemType directory -Path publish
57
+ New-Item -ItemType directory -Path publish_production
57
58
58
59
echo "*** Copy non QT DLLs from welle.io-win-libs repository ***"
59
60
Copy-Item ..\welle.io-win-libs\x64\*.dll installer -recurse # Libs
@@ -117,34 +118,31 @@ jobs:
117
118
password : ${{ secrets.SFTP_PASSWORD }}
118
119
local_dir : publish/
119
120
120
-
121
- production_signing :
122
- name : Sign installer with production key
123
- needs : qtbuild
124
- runs-on : windows-latest
125
-
126
- # Production signing needs a manual step in SignPath within 5 minutes.
127
- # During development we don't need each build signed with a production key.
128
- # So we can accept to fail here
129
- continue-on-error : true
130
-
131
- steps :
132
121
- name : Production sign installer with SignPath
133
- id : signing_installer
122
+ id : production_signing_installer
134
123
uses : signpath/github-action-submit-signing-request@v1
124
+
125
+ # Production signing needs a manual step in SignPath within 5 minutes.
126
+ # During development we don't need each build signed with a production key.
127
+ # So we can accept to fail here
128
+ continue-on-error : true
129
+
135
130
with :
136
131
api-token : ' ${{ secrets.SIGNPATH_API_TOKEN }}'
137
132
organization-id : ' b7a507e8-ab76-445f-bfb5-05944bcbbee9'
138
133
project-slug : ' welle.io'
139
134
signing-policy-slug : ' release-signing'
140
- github-artifact-id : ' ${{needs.qtbuild. upload_artifact.outputs.artifact-id}}'
135
+ github-artifact-id : ' ${{upload_artifact.outputs.artifact-id}}'
141
136
wait-for-completion : true
142
137
output-artifact-directory : ' publish_production'
143
138
144
139
- name : Archive artifacts (welle.io Windows installer signed)
145
140
id : upload_artifact_signed
146
141
uses : actions/upload-artifact@v4
142
+ if : always() && steps.production_signing_installer.outcome == 'success'
147
143
with :
148
144
name : welle.io Windows installer production-signed
149
145
path : publish_production\*.exe
150
- if-no-files-found : error
146
+ if-no-files-found : error
147
+
148
+
0 commit comments