Skip to content

Commit

Permalink
chore: use gh env
Browse files Browse the repository at this point in the history
  • Loading branch information
0xArdi committed Jul 4, 2024
1 parent 8890433 commit d2ffcaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:

- name: Get trader bin
run: |
poetry run python -c "import yaml; config = yaml.safe_load(open('templates/trader.yaml')); trader_version = config['configuration']['trader_version']; print(f'trader_version={trader_version}')" >> $GITHUB_ENV
mkdir dist && curl -L -o dist/aea_bin https://github.com/valory-xyz/trader/releases/download/${{ env.trader_version }}/trader_bin_${{ matrix.arch }}
trader_version=poetry run python -c "import yaml; config = yaml.safe_load(open('templates/trader.yaml')); trader_version = config['configuration']['trader_version']; print(f'trader_version={trader_version}')"
mkdir dist && curl -L -o dist/aea_bin https://github.com/valory-xyz/trader/releases/download/${trader_version}/trader_bin_${{ matrix.arch }}
- name: Build with PyInstaller
run: |
Expand Down

0 comments on commit d2ffcaa

Please sign in to comment.