From d67e863f237e59a4347e128d8a865dc8db9f3a07 Mon Sep 17 00:00:00 2001 From: Ardian Date: Thu, 4 Jul 2024 19:37:17 +0200 Subject: [PATCH] chore: use uploadv4 --- .github/workflows/release.yaml | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7ce4ce447..0a11bf890 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 \ No newline at end of file +# 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 \ No newline at end of file