Update release-build.yml

This commit is contained in:
Jerry Ma 2024-02-17 00:07:30 +08:00 committed by GitHub
parent aeed04a5ec
commit 983521e225
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,7 @@ jobs:
if [ "${{ matrix.operating-system }}" != "windows-x64" ]; then
mkdir dist/ && cp ${{ env.filename }} dist/ && cp spc dist/spc-$OS
else
mkdir dist/ && cp ${{ env.filename }} dist/
mkdir dist/ && cp spc.exe dist/${{ env.filename }}
echo "SUFFIX=.exe" >> $GITHUB_ENV
fi
@ -122,4 +122,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
path: spc${{ env.SUFFIX }}
name: spc-${{ matrix.operating-system }}
name: spc-${{ matrix.operating-system }}${{ env.SUFFIX }}