Skip to content

Merge pull request #176 from WeihanLi/dev #27

Merge pull request #176 from WeihanLi/dev

Merge pull request #176 from WeihanLi/dev #27

Workflow file for this run

name: Release
on:
push:
branches: [ master, main ]
jobs:
build:
name: Release
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Build
shell: pwsh
run: .\build.ps1 --stable=true
- name: Get Release Version
shell: pwsh
run: .\build\getReleaseVersion.ps1
- name: create release
shell: pwsh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create --generate-notes ${{ env.ReleaseVersion }}