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 : .NET Core Desktop
2+
3+ on :
4+ push :
5+ branches : ["2.0-main"]
6+ pull_request :
7+ branches : ["2.0-main"]
8+
9+ jobs :
10+ build :
11+ strategy :
12+ matrix :
13+ configuration : [Release]
14+
15+ runs-on : windows-latest
16+
17+ env :
18+ PRE_MC_KEY : ${{ secrets.PRE_MC_KEY }}
19+ REL_MC_KEY : ${{ secrets.REL_MC_KEY }}
20+
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+
27+ - name : Install .NET Core
28+ uses : actions/setup-dotnet@v4
29+ with :
30+ dotnet-version : 10.0.x
31+
32+ - name : Setup MSBuild.exe
33+ uses : microsoft/setup-msbuild@v2
34+
35+ - name : Launch Build
36+ run : dotnet build BedrockLauncher.Core -c Release --runtime win-x64
37+
38+ - name : Publish BedrockLauncher.Core
39+ uses : brandedoutcast/publish-nuget@v2.5.2
40+ with :
41+ PROJECT_FILE_PATH : BedrockLauncher.Core/BedrockLauncher.Core.csproj
42+ NUGET_KEY : ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments