Skip to content

Commit 564bdc9

Browse files
committed
Copy from target-specific build directories even on Windows
Changing the shell to bash *may* have been sufficient to cause these directories to be used by successfully allowing environment variables to be set and accessed using POSIX shell syntax. If so, then this change together with that one *may* be enough either to make it so that the 32-bit release archives really get 32-bit executables on Windows or to reveal further reasons they do not.
1 parent d7e9269 commit 564bdc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
cp {README.md,LICENSE-*,CHANGELOG.md} "$staging/"
202202
203203
if [ "${{ matrix.os }}" = "windows-latest" ]; then
204-
cp target/release/ein.exe target/release/gix.exe "$staging/"
204+
cp target/${{ matrix.target }}/release/ein.exe target/${{ matrix.target }}/release/gix.exe "$staging/"
205205
7z a "$staging.zip" "$staging"
206206
echo "ASSET=$staging.zip" >> $GITHUB_ENV
207207
else

0 commit comments

Comments
 (0)