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: |