From c04025a196bd12a881be3a852cb42f5621c74a89 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sat, 7 Dec 2024 14:22:41 +0100 Subject: [PATCH] Fixed Windows build --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad05827..161ad42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,8 +86,12 @@ jobs: cd source $ReleaseTag = $(git describe --match "release-*" --abbrev=0 --always HEAD) $BuildNumber = $(git rev-list --count "$ReleaseTag..HEAD") - & .\scripts\package\win-package-portable.ps1 -BuildNumber $BuildNumber + python setup.py build --build-number=$BuildNumber + python setup.py build_ext + pyinstaller --noconfirm --clean picard.spec mv dist\MusicBrainz-Picard-*.exe dist\MusicBrainz-Picard-daily.exe + env: + PICARD_BUILD_PORTABLE: 1 - name: Archive artifacts uses: actions/upload-artifact@v4 with: