Skip to content

Commit d342622

Browse files
author
alexej
committed
the artefact should be published in tags tab on
github
1 parent b889e8d commit d342622

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build_windows.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ name: Build for Windows
55
on:
66
push:
77
branches: [ main ] # Ausführen bei jedem Push auf den main Branch
8+
tags: [ '*' ] # <-- Das sorgt dafür, dass auch bei jedem Tag der Workflow läuft!
89
pull_request:
910
branches: [ main ] # Ausführen bei jedem Pull Request auf den main Branch
1011

@@ -33,14 +34,11 @@ jobs:
3334
pip install pygame pyinstaller
3435
3536
- name: Anwendung mit PyInstaller bauen
36-
# F\u00fchrt den PyInstaller Befehl aus.
37+
# Führt den PyInstaller Befehl aus.
3738
# Pfad zu main.py muss korrekt sein relativ zum Root des ausgecheckten Codes.
38-
# Wenn du Assets hast, f\u00fcge --add-data "pfad/zu/assets;assets" hinzu
39+
# Wenn du Assets hast, füge --add-data "pfad/zu/assets;assets" hinzu
3940
run: pyinstaller --onefile --windowed --name NodeGraphEditor main.py # Passe den Pfad zu main.py an, falls noetig
4041

41-
- name: Anwendung mit PyInstaller bauen
42-
run: pyinstaller --onefile --windowed --name NodeGraphEditor main.py
43-
4442
# Release erstellen (nur bei Tag-Builds)
4543
- name: Create Release
4644
if: startsWith(github.ref, 'refs/tags/')
@@ -64,7 +62,7 @@ jobs:
6462
asset_name: NodeGraphEditor.exe
6563
asset_content_type: application/octet-stream
6664

67-
- name: Ausfuehchrbare Datei als Artifact hochladen
65+
- name: Ausführbare Datei als Artifact hochladen
6866
# Speichert die gebaute .exe Datei, damit du sie herunterladen kannst.
6967
uses: actions/upload-artifact@v4
7068
with:

0 commit comments

Comments
 (0)