mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-09-26 15:30:45 +00:00
Update and rename build_test.yml to CI.yml
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: .NET
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/[email protected]
|
||||
- name: Setup NuGet
|
||||
uses: NuGet/[email protected]
|
||||
|
||||
- name: Restore NuGet Packages
|
||||
run: nuget restore MinecraftUSkinEditor.sln
|
||||
|
||||
- name: Build Solution
|
||||
run: msbuild MinecraftUSkinEditor.sln
|
||||
@@ -1,23 +0,0 @@
|
||||
name: .NET
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build --no-restore
|
||||
- name: Test
|
||||
run: dotnet test --no-build --verbosity normal
|
||||
Reference in New Issue
Block a user