diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/pyinstaller-release.yaml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/.github/workflows/pyinstaller-release.yaml b/.github/workflows/pyinstaller-release.yaml index b3c1402..ca73b6a 100644 --- a/.github/workflows/pyinstaller-release.yaml +++ b/.github/workflows/pyinstaller-release.yaml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - arch: [x64, arm64] + arch: [x64, aarch64] steps: - name: Checkout uses: actions/checkout@v4 @@ -52,7 +52,7 @@ jobs: path: ./static/dist - name: Set up QEMU for cross-architecture - if: matrix.arch == 'arm64' + if: matrix.arch == 'aarch64' uses: docker/setup-qemu-action@v3 with: platforms: arm64 @@ -69,7 +69,7 @@ jobs: pip install -r requirements.txt - name: Install system dependencies for arm64 - if: matrix.arch == 'arm64' + if: matrix.arch == 'aarch64' run: | sudo apt-get update sudo apt-get install -y zlib1g-dev libffi-dev libssl-dev @@ -78,11 +78,7 @@ jobs: env: TARGET_ARCH: ${{ matrix.arch }} run: | - if [ "${{ matrix.arch }}" = "arm64" ]; then - ARCHITECTURE=aarch64 pyinstaller pix.spec - else - pyinstaller pix.spec - fi + ARCHITECTURE=${{ matrix.arch }} pyinstaller pix.spec - name: Rename the executable run: | |
