wabbajack/.github/workflows/release.yml

23 lines
469 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:
2021-01-04 03:45:42 +00:00
runs-on: self-hosted
2021-01-04 03:38:12 +00:00
steps:
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
- uses: actions/checkout@v2
- 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