From cec03bea3ee7a11ae911db56ff1c6f69902ee277 Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Wed, 13 Nov 2024 10:03:14 -0800 Subject: [PATCH] Fix env. --- .github/workflows/binaries.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/binaries.yml b/.github/workflows/binaries.yml index 03a61ba4d5..8be922c57f 100644 --- a/.github/workflows/binaries.yml +++ b/.github/workflows/binaries.yml @@ -116,15 +116,16 @@ jobs: run: | version="$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.name == "stellar-cli") | .version')" echo "VERSION=${version}" >> $GITHUB_ENV - echo "STELLAR_CLI_INSTALLER=stellar-cli-installer-${version}-x86_64-pc-windows-msvc.exe" + echo "STELLAR_CLI_INSTALLER=stellar-cli-installer-${version}-x86_64-pc-windows-msvc.exe" >> $GITHUB_ENV + echo "ARTIFACT_NAME=stellar-cli-${version}-x86_64-pc-windows-msvc.tar.gz" >> $GITHUB_ENV - name: Download Artifact uses: actions/download-artifact@v4 with: - name: stellar-cli-${{ env.VERSION }}-x86_64-pc-windows-msvc.tar.gz + name: ${{ env.ARTIFACT_NAME }} - name: Uncompress Artifact - run: tar xvf stellar-cli-${{ env.VERSION }}-x86_64-pc-windows-msvc.tar.gz + run: tar xvf ${{ env.ARTIFACT_NAME }} - name: Build Installer run: |