Fix "Not a valid Win32 FileTime" exception #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build FATXTools | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
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@v1.0.2 | |
# 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/ |