From df95c9594dee54d0f51d9d3e023797848960c857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20B=C3=BCsgen?= Date: Fri, 23 Feb 2024 21:45:05 +0100 Subject: [PATCH] fix: try other action --- .github/workflows/build.yml | 47 ++++++------------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e46473..0f6c1d0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,37 +10,6 @@ on: - fix/ jobs: - pyinstaller-build-windows: - runs-on: windows-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.10' - - - name: Install Poetry - run: | - pip install poetry - poetry config virtualenvs.create false - - - name: Install dependencies - run: poetry install - - - name: Generate requirements.txt - run: poetry export --format requirements.txt --output requirements.txt - - - name: Create Executable - uses: sayyid5416/pyinstaller@v1 - with: - python_ver: '3.10' - spec: 'ui.spec' - requirements: ${{ github.workspace }}/requirements.txt # Pass the path to requirements.txt explicitly - upload_exe_with_name: 'Rockbox Listenbrainz Scrobbler' - options: --onefile, --name "Rockbox Listenbrainz Scrobbler", --windowed - pyinstaller-build-linux: runs-on: ubuntu-latest steps: @@ -60,14 +29,12 @@ jobs: - name: Install dependencies run: poetry install - - name: Generate requirements.txt - run: poetry export --format requirements.txt --output requirements.txt + - name: Package Application + uses: JackMcKew/pyinstaller-action-linux@main + with: + spec: ui.spec - - name: Create Executable - uses: sayyid5416/pyinstaller@v1 + - uses: actions/upload-artifact@v2 with: - python_ver: '3.10' - spec: 'ui.spec' - requirements: ${{ github.workspace }}/requirements.txt # Pass the path to requirements.txt explicitly - upload_exe_with_name: 'Rockbox Listenbrainz Scrobbler' - options: --onefile, --name "Rockbox Listenbrainz Scrobbler", --windowed + name: rockbox-scrobbler-ui + path: dist/linux