wabbajack/.github/workflows/release.yml

28 lines
816 B
YAML
Raw Normal View History

2021-01-04 03:38:47 +00:00
name: Create Release
2021-01-04 03:38:12 +00:00
on:
workflow_dispatch:
inputs:
2021-01-04 03:43:42 +00:00
version:
description: 'Release Version'
required: true
2021-01-04 03:38:12 +00:00
jobs:
build:
2021-01-04 03:45:42 +00:00
runs-on: self-hosted
2021-01-04 03:38:12 +00:00
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
2021-01-04 03:48:07 +00:00
dotnet-version: 5.0.101
2021-01-04 03:38:12 +00:00
- 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