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 UnityDataTool
2+
3+ on : workflow_dispatch
4+
5+ jobs :
6+ build :
7+ runs-on : ${{ matrix.os }}-latest
8+
9+ strategy :
10+ matrix :
11+ os : [windows, macos]
12+ arch : [x64, arm64]
13+ environment : [debug, release]
14+ exclude :
15+ - os : windows
16+ arch : arm64
17+ - os : macos
18+ arch : x64
19+
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v4
23+
24+ - name : Setup .NET
25+ uses : actions/setup-dotnet@v4
26+ with :
27+ dotnet-version : 9.0.x
28+
29+ - name : Publish UnityDataTool (${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.environment }})
30+ run : >
31+ dotnet publish UnityDataTool
32+ -c Release
33+ -a ${{ matrix.arch }}
34+ -p:PublishSingleFile=true
35+ -p:UseAppHost=true
36+ -o publish/${{ matrix.arch }}
37+
38+ - name : Upload artifact
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : UnityDataTool-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.environment }}
42+ path : publish/${{ matrix.os }}/${{ matrix.arch }}-${{ matrix.environment }}
You can’t perform that action at this time.
0 commit comments