Skip to content

Commit

Permalink
chore: use uploadv4
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Jul 4, 2024
1 parent 6e275a5 commit d67e863
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,30 +181,30 @@ jobs:
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_${{ matrix.arch }}
- name: Upload Release Assets
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: trader_bin_${{ matrix.arch }}
path: dist/trader_bin_${{ matrix.arch }}
upload-assets:
needs: build-macos-pyinstaller
runs-on: ubuntu-latest

steps:
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: trader_bin_x64
path: ./dist/
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: trader_bin_arm64
path: ./dist/

- name: Publish Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./dist/trader_bin_x64
./dist/trader_bin_arm64
# upload-assets:
# needs: build-macos-pyinstaller
# runs-on: ubuntu-latest
#
# steps:
# - name: Download artifacts
# uses: actions/download-artifact@v2
# with:
# name: trader_bin_x64
# path: ./dist/
# - name: Download artifacts
# uses: actions/download-artifact@v2
# with:
# name: trader_bin_arm64
# path: ./dist/
#
# - name: Publish Release
# uses: softprops/action-gh-release@v2
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# ./dist/trader_bin_x64
# ./dist/trader_bin_arm64

0 comments on commit d67e863

Please sign in to comment.