From f024570c2330eaa1552296d3504f853ab15990e7 Mon Sep 17 00:00:00 2001 From: Lunush <76045303+lunush@users.noreply.github.com> Date: Sat, 27 Feb 2021 14:45:21 +0300 Subject: [PATCH] Does Windows ignore --target flag? --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a0f845..46f9fb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -162,9 +162,8 @@ jobs: outdir=${{ env.TARGET_DIR }} staging="rates-${{ env.RELEASE_VERSION }}-${{ matrix.target }}" mkdir -p "$staging"/{complete,doc} - ls target if [ "${{ matrix.os }}" = "windows-2019" ]; then - cp "target/${{ matrix.target }}/release/rates.exe" "$staging/" + cp "target/release/rates.exe" "$staging/" 7z a "$staging.zip" "$staging" echo "ASSET=$staging.zip" >> $GITHUB_ENV else