From 648d7e12e4297b26537a4fe35385cdf2caf45dfa Mon Sep 17 00:00:00 2001 From: Misaka-ZeroTwo <45165615+Misaka-ZeroTwo@users.noreply.github.com> Date: Fri, 27 Oct 2023 14:29:39 -0400 Subject: [PATCH] Create dotnet-desktop.yml --- .github/workflows/dotnet-desktop.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/dotnet-desktop.yml diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 0000000..29f82a9 --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -0,0 +1,33 @@ + +name: CI +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + workflow_dispatch: + +jobs: + + build: + runs-on: windows-latest + steps: + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v1.7.2 + + - uses: actions/checkout@v2.3.4 + + - name: Restore Packages + run: nuget restore + + - name: setup-msbuild + uses: microsoft/setup-msbuild@v1.1.3 + + - name: Build app for release + run: msbuild EXILED-DLL-Archiver\EXILED-DLL-Archiver.csproj -t:rebuild -verbosity:diag -property:Configuration=Release + + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: EXILED-DLL-Archiver.exe + path: EXILED-DLL-Archiver/bin/Release/EXILED-DLL-Archiver.exe