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
|
2021-01-04 03:38:12 +00:00
|
|
|
- name: Restore dependencies
|
|
|
|
run: dotnet restore
|
2022-05-23 16:17:31 +00:00
|
|
|
- name: Build ${{ env.VERSION}}
|
|
|
|
run: dotnet build
|
2021-01-04 21:13:01 +00:00
|
|
|
|