From 1c65e36b927bc6e59ac51d14b27f1819bdf9cf25 Mon Sep 17 00:00:00 2001 From: Ardian Date: Thu, 4 Jul 2024 20:22:14 +0200 Subject: [PATCH] chore: use gh env --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d57ce4f93..9cef3ba2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,8 @@ jobs: - name: Get trader bin run: | - 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 }} + trader_version=poetry run python -c "import yaml; config = yaml.safe_load(open('templates/trader.yaml')); print(config['configuration']['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: |