File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010jobs :
1111 build :
12- runs-on : ${{ matrix.os }}
12+ runs-on : windows-latest
1313 permissions :
1414 contents : read
15- strategy :
16- matrix :
17- os : [ubuntu-latest, windows-latest, macos-latest]
18- configuration : [Release]
19- include :
20- - os : ubuntu-latest
21- rid : linux-x64
22- - os : windows-latest
23- rid : win-x64
24- - os : macos-latest
25- rid : osx-x64
2615
2716 steps :
2817 - name : Checkout code
@@ -37,13 +26,13 @@ jobs:
3726 run : dotnet restore AirPlay.sln
3827
3928 - name : Build
40- run : dotnet build AirPlay.sln --configuration ${{ matrix.configuration }} --no-restore
29+ run : dotnet build AirPlay.sln --configuration Release --no-restore
4130
4231 - name : Publish
43- run : dotnet publish AirPlay/AirPlay.csproj --configuration ${{ matrix.configuration }} --runtime ${{ matrix.rid }} --self-contained true --output ./publish/${{ matrix.rid }}
32+ run : dotnet publish AirPlay/AirPlay.csproj --configuration Release --runtime win-x64 --self-contained true --output ./publish/win-x64
4433
4534 - name : Upload build artifacts
4635 uses : actions/upload-artifact@v4
4736 with :
48- name : AirPlay-${{ matrix.rid }}
49- path : ./publish/${{ matrix.rid }} /
37+ name : AirPlay-win-x64
38+ path : ./publish/win-x64 /
You can’t perform that action at this time.
0 commit comments