Skip to content

Merge pull request #35 from FreeTheTech101/master #22

Merge pull request #35 from FreeTheTech101/master

Merge pull request #35 from FreeTheTech101/master #22

Workflow file for this run

name: Build FATXTools
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Setup .NET
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild FATXTools.sln /t:Restore /p:Configuration=Release
# Build the application
- name: Build the application
run: msbuild FATXTools.sln /p:Configuration=Release /p:Platform="Any CPU"
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test
# Upload the release build artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: FATXTools-Release
path: FATXTools/bin/Release/