mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-31 11:44:47 +00:00
Update and rename build_test.yml to CI.yml
This commit is contained in:
24
.github/workflows/CI.yml
vendored
Normal file
24
.github/workflows/CI.yml
vendored
Normal file
@@ -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/setup-msbuild@v1.1
|
||||
- name: Setup NuGet
|
||||
uses: NuGet/setup-nuget@v1.0.6
|
||||
|
||||
- name: Restore NuGet Packages
|
||||
run: nuget restore MinecraftUSkinEditor.sln
|
||||
|
||||
- name: Build Solution
|
||||
run: msbuild MinecraftUSkinEditor.sln
|
||||
23
.github/workflows/build_test.yml
vendored
23
.github/workflows/build_test.yml
vendored
@@ -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