mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 13:45:34 +08:00
add ci build script
This commit is contained in:
parent
b68b11a1a2
commit
92b809e95b
25
.github/workflows/build.yml
vendored
Normal file
25
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: .NET Framework Build
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
show-progress: false
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
uses: microsoft/setup-msbuild@v2
|
||||||
|
# Restore NuGet packages
|
||||||
|
- name: Restore
|
||||||
|
run: nuget restore
|
||||||
|
# Build the solution
|
||||||
|
- name: Build
|
||||||
|
run: msbuild /p:Configuration=Release /p:Platform="Any CPU" /p:TargetFrameworkVersion=v4.6.2 GARbro.sln
|
||||||
|
# Publish the artifacts
|
||||||
|
- name: Publish Artifact
|
||||||
|
if: success()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: GARbro-Mod-ci-build
|
||||||
|
path: bin/Release
|
Loading…
Reference in New Issue
Block a user