File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ jobs:
5050 run : |
5151 if [ $RUNNER_OS == 'Windows' ]; then
5252 cd ./publish
53- powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_${{ env.VERSION }}.zip"
53+ powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64 .zip"
5454 elif [ $RUNNER_OS == 'Linux' ]; then
5555 cd ./publish
56- zip -r "../WriterSharp_${{ env.VERSION }}.zip" *
56+ zip -r "../WriterSharp_${{ env.VERSION }}_linux64 .zip" *
5757 # MacOS down here
5858 #elif [ $RUNNER_OS == 'macOS' ]; then
5959 #cd ./publish
@@ -65,10 +65,10 @@ jobs:
6565 run : |
6666 if [ $RUNNER_OS == 'Windows' ]; then
6767 cd ./publish
68- tar -czvf "../WriterSharp_${{ env.VERSION }}.tar.gz" *
68+ tar -czvf "../WriterSharp_${{ env.VERSION }}_win64 .tar.gz" *
6969 elif [ $RUNNER_OS == 'Linux' ]; then
7070 cd ./publish
71- tar -czvf "../WriterSharp_${{ env.VERSION }}.tar.gz" *
71+ tar -czvf "../WriterSharp_${{ env.VERSION }}_linux64 .tar.gz" *
7272 # MacOS down here
7373 #elif [ $RUNNER_OS == 'macOS' ]; then
7474 #cd ./publish
8080 uses : softprops/action-gh-release@v1
8181
8282 with :
83- files : ./publish/**/*
83+ files : |
84+ ./*.zip
85+ ./*.tar.gz
8486
8587 env :
8688 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments