File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ jobs:
1010 matrix :
1111 include :
1212 - os : ubuntu-latest
13+ runner : Linux
1314 runtime : linux-x64
1415 zip_name : ProtankiProxy_linux_x64.zip
1516
1617 - os : macos-latest
18+ runner : macOS
1719 runtime : osx-arm64
1820 zip_name : ProtankiProxy_osx_arm64.zip
1921
2022 - os : windows-latest
23+ runner : Windows
2124 runtime : win-x64
2225 zip_name : ProtankiProxy_win_x64.zip
2326
@@ -36,14 +39,14 @@ jobs:
3639 run : dotnet publish -c Release -r ${{ matrix.runtime }} --self-contained true -o publish
3740
3841 - name : Zip for Unix
39- if : runner.os != 'Windows'
42+ if : matrix.runner != 'Windows'
4043 run : |
4144 cd publish
4245 zip -r ../${{ matrix.zip_name }} .
4346 shell : bash
4447
4548 - name : Zip for Windows
46- if : runner.os == 'Windows'
49+ if : matrix.runner == 'Windows'
4750 shell : pwsh
4851 run : Compress-Archive -Path publish\* -DestinationPath ${{ matrix.zip_name }}
4952
You can’t perform that action at this time.
0 commit comments