Skip to content

Commit 368b41c

Browse files
feat: allow unsigned exe (#131)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 57487a8 commit 368b41c

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/ci_cd.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
146146
- uses: actions/upload-artifact@v3
147147
with:
148-
name: Python-Installer
148+
name: Python-Installer-Signed
149149
path: signtool/installer/*Setup*.exe
150150

151151
release:
@@ -154,6 +154,11 @@ jobs:
154154
needs: [sign-application]
155155
runs-on: ubuntu-latest
156156
steps:
157+
- uses: actions/download-artifact@v3
158+
with:
159+
name: Python-Installer-Signed
160+
path: installer-signed
161+
157162
- uses: actions/download-artifact@v3
158163
with:
159164
name: Python-Installer
@@ -162,10 +167,18 @@ jobs:
162167
- name: Display structure of downloaded files
163168
run: ls -R
164169

165-
- name: "Release to GitHub"
170+
- name: Rename unsigned exe
171+
run: |
172+
cd installer
173+
for filename in *.exe; do mv "$filename" "Unsigned_${filename}"; done;
174+
cd -
175+
176+
- name: Release to GitHub
166177
uses: softprops/action-gh-release@v1
167178
with:
168-
files: installer/*.exe
179+
files: |
180+
installer-signed/*.exe
181+
installer/*.exe
169182
generate_release_notes: true
170183

171184
doc-deploy-release:

0 commit comments

Comments
 (0)