Skip to content

Publish windows

Publish windows #21

Workflow file for this run

name: Build and publish to release
on:
push:
branches:
- main # Used for stable releases
- develop # Used for preview releases
jobs:
publish:
name: Build check for all branches
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v4.1.0
with:
dotnet-version: |
7.0.x
8.0.x
9.0.x
- name: Build, Tests, Cover, Pack and Publish (on push tag)
shell: bash
run: |
dotnet workload restore
dotnet tool install --global dotnet-releaser
dotnet-releaser run --github-token "${{secrets.GITHUB_TOKEN}}" ${{ github.workspace }}/dotnet-releaser.toml