File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ jobs:
4848 # Step 8
4949 - name : Create ZIP archives
5050 run : |
51- if [ $RUNNER_OS == 'Windows' ]; then
51+ if [[ $RUNNER_OS == 'Windows' ] ]; then
5252 cd ./publish
5353 powershell Compress-Archive -Path * -DestinationPath "../WriterSharp_${{ env.VERSION }}_win64.zip"
54- elif [ $RUNNER_OS == 'Linux' ]; then
54+ elif [[ $RUNNER_OS == 'Linux' ] ]; then
5555 cd ./publish
5656 zip -r "../WriterSharp_${{ env.VERSION }}_linux64.zip" *
5757 # MacOS down here
@@ -63,10 +63,10 @@ jobs:
6363 # Step 9
6464 - name : Create TAR.GZ archives
6565 run : |
66- if [ $RUNNER_OS == 'Windows' ]; then
66+ if [[ $RUNNER_OS == 'Windows' ] ]; then
6767 cd ./publish
6868 tar -czvf "../WriterSharp_${{ env.VERSION }}_win64.tar.gz" *
69- elif [ $RUNNER_OS == 'Linux' ]; then
69+ elif [[ $RUNNER_OS == 'Linux' ] ]; then
7070 cd ./publish
7171 tar -czvf "../WriterSharp_${{ env.VERSION }}_linux64.tar.gz" *
7272 # MacOS down here
You can’t perform that action at this time.
0 commit comments