Skip to content

Commit ed576c3

Browse files
committed
feat: aktualisiere Upload-Strategie für Installer, wechsle von Asset-Upload zu Artifact-Upload in Release-Workflow
1 parent b9a5ca6 commit ed576c3

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ jobs:
2929
python setup.py ${{ github.event.release.tag_name }}
3030
pyinstaller --onefile installer.py
3131
move dist/installer.exe dist/installer-win.exe
32-
- name: Upload Asset to Release
33-
uses: softprops/action-gh-release@v3
32+
- name: Upload Artifact
33+
uses: actions/upload-artifact@v3
3434
with:
35-
tag_name: ${{ github.event.release.tag_name }}
36-
files: |
37-
dist/installer-win.exe
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
name: installer-win.exe
36+
path: dist/installer-win.exe
4037
build-mac:
4138
name: Build Mac Installer
4239
runs-on: macos-latest
@@ -61,17 +58,15 @@ jobs:
6158
python setup.py ${{ github.event.release.tag_name }}
6259
pyinstaller --onefile installer.py
6360
mv dist/installer dist/installer-mac
64-
- name: Upload Asset to Release
65-
uses: softprops/action-gh-release@v3
61+
- name: Upload Artifact
62+
uses: actions/upload-artifact@v3
6663
with:
67-
tag_name: ${{ github.event.release.tag_name }}
68-
files: |
69-
dist/installer-mac
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
name: installer-mac
65+
path: dist/installer-mac
7266
append-assets:
7367
name: Append Assets to Release
7468
runs-on: ubuntu-latest
69+
needs: [build-win, build-mac]
7570

7671
steps:
7772
- name: Checkout Code

0 commit comments

Comments
 (0)