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 ce044fd commit 3288f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

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

0 comments on commit 3288f28

Please sign in to comment.