wabbajack/.github/workflows/release.yml

23 lines
492 B
YAML
Raw Normal View History

2022-05-23 16:17:31 +00:00
name: Create Release (Windows)
2021-01-04 03:38:12 +00:00
on:
workflow_dispatch:
jobs:
build:
2022-05-23 16:19:12 +00:00
runs-on: windows-latest
2021-01-04 03:38:12 +00:00
steps:
2022-05-23 16:22:06 +00:00
- uses: actions/checkout@v2
2022-05-23 16:17:31 +00:00
- name: Extract Version
run: echo "VERSION=$(python scripts/version_extract.py)" >> $GITHUB_ENV
2021-01-04 03:38:12 +00:00
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
2022-05-23 16:17:31 +00:00
dotnet-version: 6.0.x
2022-05-23 19:54:46 +00:00
- name: Restore dependencies ${{ env.VERSION }}
2021-01-04 03:38:12 +00:00
run: dotnet restore
2022-05-23 19:54:46 +00:00
- name: Build ${{ env.VERSION }}
2022-05-23 16:17:31 +00:00
run: dotnet build
2021-01-04 21:13:01 +00:00