From e89950cd395c2c4b92ba57588f99ec59e671ba87 Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Sun, 3 Jan 2021 20:38:12 -0700 Subject: [PATCH] Create release.yml --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..6c851729 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: .NET + +on: + workflow_dispatch: + inputs: + description: 'Release Version' + required: true + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.301 + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Publish App + run: dotnet publish Wabbajack\Wabbajack.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o c:\tmp\PublishApp --self-contained + - name: Publish Launcher + run: dotnet publish Wabbajack.Launcher\Wabbajack.Launcher.csproj --runtime win10-x64 --configuration Release /p:Platform=x64 -o c:\tmp\PublishLauncher --self-contained