Skip to content

Commit 845a993

Browse files
authored
Update release.yml to properly expect Windows extensions (#293)
1 parent a02659c commit 845a993

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
@@ -83,7 +83,7 @@ jobs:
8383
fi
8484
echo $PRERELEASE
8585
86-
mv target/${{ matrix.job.target }}/release/gfold${{ '.exe' && startsWith(matrix.job.os, 'windows-') || '' }} ${{ matrix.job.asset_name }}
86+
mv target/${{ matrix.job.target }}/release/gfold${{ startsWith(matrix.job.os, 'windows-') && '.exe' || '' }} ${{ matrix.job.asset_name }}
8787
- uses: softprops/action-gh-release@v2
8888
with:
8989
files: ${{ matrix.job.asset_name }}

0 commit comments

Comments
 (0)