Skip to content

update Actions script #3

update Actions script

update Actions script #3

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

(Line: 18, Col: 6): Unexpected value '', (Line: 19, Col: 1): Unexpected value 'build'
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.0.x'
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Restore dependencies
run: msbuild "Simple QR Code Maker.sln" /t:Restore /p:Configuration=Release
- name: Build solution
run: msbuild "Simple QR Code Maker.sln" /p:Configuration=Release /p:Platform=x64