File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build AddressablesTools Example Ubuntu
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-22.04
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v2
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Install .NET Core
20+ uses : actions/setup-dotnet@v3
21+ with :
22+ dotnet-version : 8.0.x
23+
24+ - name : Restore
25+ run : dotnet restore
26+
27+ - name : Build
28+ run : dotnet build --configuration Release --no-restore
29+
30+ - name : Upload
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : addrtool-example-ubuntu
34+ path : Example/bin/Release/net8.0
Original file line number Diff line number Diff line change 1+ name : Build AddressablesTools Example Windows
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : windows-2022
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v2
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Install .NET Core
20+ uses : actions/setup-dotnet@v3
21+ with :
22+ dotnet-version : 8.0.x
23+
24+ - name : Setup MSBuild.exe
25+ uses : microsoft/setup-msbuild@v1.1
26+
27+ - name : Build
28+ run : msbuild AddressablesTools.sln /restore /p:Configuration=Release
29+
30+ - name : Upload
31+ uses : actions/upload-artifact@v4
32+ with :
33+ name : addrtool-example-windows
34+ path : Example/bin/Release/net8.0
You can’t perform that action at this time.
0 commit comments