Skip to content

Build & release

Build & release #8

Workflow file for this run

name: 'Build & release'
on:
workflow_dispatch:
push:
branches:
- main
tags:
- '*'
paths-ignore:
- '.github/**'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Restore
run: |
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild.exe" "/t:Restore" "/p:Configuration=Release" "/p:Version=$env:GITHUB_REF_NAME"
- name: Build
run: |
& "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\msbuild.exe" "/p:Configuration=Release" "/p:Version=$env:GITHUB_REF_NAME"