Skip to content

Commit

Permalink
Use a different asset name for Ubuntu on arm64 binary assets (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
remyroy authored Sep 16, 2024
1 parent b27e887 commit 6ce2d09
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,19 @@ jobs:
python -m pip install --upgrade pip
pip install -r build_configs/windows/requirements.txt
- name: Build with build.spec (Linux amd64)
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
if: ${{ startsWith(matrix.os, 'ubuntu-') && !contains(matrix.os, 'arm') }}
run: |
export BUILD_FILE_NAME=ethstaker_deposit-cli-${SHORT_SHA}-linux-amd64
echo "BUILD_FILE_NAME=${BUILD_FILE_NAME}" >> "$GITHUB_ENV"
mkdir ${BUILD_FILE_NAME}
pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec
- name: Build with build.spec (Linux arm64)
if: ${{ startsWith(matrix.os, 'ubuntu-') && contains(matrix.os, 'arm') }}
run: |
export BUILD_FILE_NAME=ethstaker_deposit-cli-${SHORT_SHA}-linux-arm64
echo "BUILD_FILE_NAME=${BUILD_FILE_NAME}" >> "$GITHUB_ENV"
mkdir ${BUILD_FILE_NAME}
pyinstaller --distpath ./${BUILD_FILE_NAME} ./build_configs/linux/build.spec
- name: Build with build.spec (macOS amd64)
if: ${{ matrix.os == 'macos-13' }}
run: |
Expand Down

0 comments on commit 6ce2d09

Please sign in to comment.