Skip to content

Leverage C# primary constructors whenever possible #98

Leverage C# primary constructors whenever possible

Leverage C# primary constructors whenever possible #98

Workflow file for this run

name: Build release artifact
on: [push, pull_request]
jobs:
build-release:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- name: Publish release build
run: dotnet publish -c Release -p:PublishProfile=Standalone
- name: Print published executable hash
run: (Get-FileHash src/bin/Release/standalone/Win10BloatRemover.exe).Hash
- name: Copy Readme and License near published executable
run: cp @('LICENSE', 'README.md') -Destination src/bin/Release/standalone
- name: Upload release files
uses: actions/upload-artifact@v4
with:
name: Win10BloatRemover_${{ github.ref_name }}
path: src/bin/Release/standalone/*
if-no-files-found: error