Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ committed Dec 1, 2023
1 parent 8755d99 commit adbcc37
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Il2CppInspectorRedux Build

on:
push:
branches: [ master ]

workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: microsoft/setup-msbuild@v1.1

- name: Restore NuGet packages
run: nuget restore

- name: Build GUI
run: msbuild /t:Il2CppInspector.GUI:publish /p:Configuration=Release /p:Platform=x64 /p:TargetFramework=net8.0-windows /p:SelfContained=false /verbosity:minimal

- name: Build CLI
run: msbuild /t:Il2CppInspector.CLI:publish /p:Configuration=Release /p:Platform=x64 /p:TargetFramework=net8.0-windows /p:SelfContained=false /verbosity:minimal

- name: Upload GUI Artifact
uses: actions/upload-artifact@v2
with:
name: Il2CppInspectorRedux.GUI
path: Il2CppInspector.GUI/bin/Release/net8.0-windows/publish

- name: Upload CLI Artifact
uses: actions/upload-artifact@v2
with:
name: Il2CppInspectorRedux.CLI
path: Il2CppInspector.CLI/bin/Release/net8.0-windows/publish

0 comments on commit adbcc37

Please sign in to comment.