Skip to content

app: reveal new ioctl code 0x22A014 #9

app: reveal new ioctl code 0x22A014

app: reveal new ioctl code 0x22A014 #9

Workflow file for this run

name: auto-build
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare envars
run: |
echo "SHORT_SHA=$("${{ github.sha }}" | cut -c1-8)" >> $env:GITHUB_ENV
echo "APP_VERSION=$((Get-Content -Path "app\App.xaml.cs" | Select-String -Pattern 'VERSION\s=\s"(.+)"' -AllMatches).Matches.Groups[1].Value)" >> $env:GITHUB_ENV
- name: Patch project files
run: |
(Get-Content app\ParsecVDisplay.csproj) -replace "FrameworkVersion>v4.5", "FrameworkVersion>v4.8" | Out-File app\ParsecVDisplay.csproj
(Get-Content app\App.config) -replace "Version=v4.5", "Version=v4.8" | Out-File app\App.config
- name: Setup msbuild
uses: microsoft/setup-msbuild@v2
- name: Build app
run: |
cd app
msbuild ParsecVDisplay.csproj /t:Build /p:Configuration=Debug /p:Platform=AnyCPU
- uses: actions/upload-artifact@v4
with:
name: ParsecVDisplay-v${{ env.APP_VERSION }}-${{ env.SHORT_SHA }}
path: app/bin