From 7f608019ed38ae85e40f23860d59215a8d93fb89 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Thu, 17 Apr 2025 11:26:44 +0200 Subject: [PATCH] fix: install requirements & only build tags --- .github/workflows/release.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 009d760..21b50f0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,8 +2,8 @@ name: Build and Release EXE on: push: - branches: - - master + tags: + - '*' jobs: build: @@ -22,9 +22,10 @@ jobs: run: | python -m pip install --upgrade pip pip install pyinstaller + pip install -r requirements.txt - name: Build EXE - run: pyinstaller client.py + run: pyinstaller -F client.py - name: Archive EXE run: Compress-Archive -Path dist\ -DestinationPath release.zip @@ -32,4 +33,4 @@ jobs: - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "v-${{ github.ref_name }}" \ No newline at end of file + run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "release-${{ github.ref_name }}" \ No newline at end of file