feat: add canvas page #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build: | |
runs-on: windows-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 9.0.x | |
- name: dotnet restore | |
run: dotnet restore | |
- name: dotnet build | |
run: dotnet build --configuration Release --no-restore | |
- name: dotnet publish | |
run: dotnet publish --configuration Release --no-build --output ./publish | |
- name: archive publish directory | |
run: Compress-Archive -Path ./publish/* -DestinationPath ./publish.zip | |
- name: create release | |
id: create_release | |
uses: softprops/action-gh-release@v2 | |
with: | |
generate_release_notes: true | |
files: ./publish.zip | |
name: ${{ github.ref_name }} |