Skip to content

Commit 00e7010

Browse files
authored
release 2.0.0-fix.1
1 parent 4dd8d39 commit 00e7010

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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 }}

0 commit comments

Comments
 (0)