Skip to content

Commit

Permalink
chore: use macos-14*
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Aug 9, 2024
1 parent 3d4b194 commit 5c34214
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,21 +178,22 @@ jobs:
run: poetry install

- name: Set arch environment variable for macos-latest-large
if: matrix.os == 'macos-latest-large'
if: matrix.os == 'macos-14-large'
run: echo "ARCH=x64" >> $GITHUB_ENV

- name: Set arch environment variable for other macOS versions
if: matrix.os != 'macos-latest-large'
if: matrix.os != 'macos-14-large'
run: echo "ARCH=arm64" >> $GITHUB_ENV

- name: Build with PyInstaller
run: |
poetry run pyinstaller --collect-data eth_account --collect-all aea --collect-all autonomy --collect-all operate --collect-all aea_ledger_ethereum --collect-all aea_ledger_cosmos --collect-all aea_ledger_ethereum_flashbots --hidden-import aea_ledger_ethereum --hidden-import aea_ledger_cosmos --hidden-import aea_ledger_ethereum_flashbots --hidden-import grpc --hidden-import openapi_core --collect-all google.protobuf --collect-all openapi_core --collect-all openapi_spec_validator --collect-all asn1crypto --hidden-import py_ecc --hidden-import pytz --onefile pyinstaller/trader_bin.py --name "trader_bin_$ARCH"
poetry run pyinstaller --collect-data eth_account --collect-all aea --collect-all autonomy --collect-all operate --collect-all aea_ledger_ethereum --collect-all aea_ledger_cosmos --collect-all aea_ledger_ethereum_flashbots --hidden-import aea_ledger_ethereum --hidden-import aea_ledger_cosmos --hidden-import aea_ledger_ethereum_flashbots --hidden-import grpc --hidden-import openapi_core --collect-all google.protobuf --collect-all openapi_core --collect-all openapi_spec_validator --collect-all asn1crypto --hidden-import py_ecc --hidden-import pytz --onefile pyinstaller/trader_bin.py --name trader_bin_${ARCH}
- name: Upload Release Assets
uses: actions/upload-artifact@v2
with:
name: "trader_bin_$ARCH"
path: "dist/trader_bin_$ARCH"

upload-assets:
needs: build-macos-pyinstaller
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5c34214

Please sign in to comment.