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 - main
1010
1111jobs :
12- build :
12+ build-windows :
1313 runs-on : windows-latest
1414
1515 steps :
3333 - name : Upload artifact
3434 uses : actions/upload-artifact@v4
3535 with :
36- name : ebuild-package
36+ name : ebuild-windows
37+ path : ./publish
38+ build-linux :
39+ runs-on : ubuntu-latest
40+
41+ steps :
42+ - name : Checkout code
43+ uses : actions/checkout@v3
44+
45+ - name : Setup .NET
46+ uses : actions/setup-dotnet@v3
47+ with :
48+ dotnet-version : ' 8.0.x'
49+
50+ - name : Restore dependencies
51+ run : dotnet restore ebuild.sln
52+
53+ - name : Build solution
54+ run : dotnet build ebuild.sln --configuration Release --no-restore
55+
56+ - name : Publish artifacts
57+ run : dotnet publish ebuild/ebuild.csproj --configuration Release --output ./publish
58+
59+ - name : Upload artifact
60+ uses : actions/upload-artifact@v4
61+ with :
62+ name : ebuild-linux
3763 path : ./publish
You can’t perform that action at this time.
0 commit comments