Skip to content

Commit 6676bf5

Browse files
committed
Update pipeline
1 parent 5a90e95 commit 6676bf5

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/pyinstaller-build-workflow.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- "*"
7+
workflow_dispatch:
78

89
jobs:
910
build:
@@ -37,11 +38,23 @@ jobs:
3738
steps:
3839
- name: Checkout
3940
uses: actions/checkout@v2
41+
4042
- uses: actions/download-artifact@v2 # download all artifacts
41-
- name: Release
43+
- run: ls -la
44+
45+
- run: |
46+
sudo apt install zip -y
47+
zip -r image_copy_Linux.zip image_copy_Linux
48+
zip -r image_copy_Windows.zip image_copy_Windows
49+
zip -r image_copy_macOS.zip image_copy_macOS
50+
51+
- name: Release # create release
4252
uses: softprops/action-gh-release@v1
4353
with:
4454
files: |
45-
image_copy_Linux
46-
image_copy_Windows
47-
image_copy_macOS
55+
image_copy_Linux.zip
56+
image_copy_Windows.zip
57+
image_copy_macOS.zip
58+
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)