This repository has been archived by the owner on May 11, 2024. It is now read-only.
Update GUILogger.cs #51
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 | |
on: | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- '**/LICENSE' | |
- '**/README.md' | |
- '**/build.yml' | |
- '**/.gitignore' | |
- '**/.gitattributes' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: microsoft/setup-msbuild@v1.1 | |
- name: Nuget Restore | |
run: nuget restore | |
- name: Build .Net6 | |
run: msbuild /t:AssetStudioGUI:publish /p:Configuration=Release /p:TargetFramework=net6.0-windows /p:SelfContained=false /verbosity:minimal | |
- name: Build .Net7 | |
run: msbuild /t:AssetStudioGUI:publish /p:Configuration=Release /p:TargetFramework=net7.0-windows /p:SelfContained=false /verbosity:minimal | |
- name: Build .Net6 CLI | |
run: msbuild /t:AssetStudioCLI:publish /p:Configuration=Release /p:TargetFramework=net6.0-windows /p:SelfContained=false /verbosity:minimal | |
- name: Build .Net7 CLI | |
run: msbuild /t:AssetStudioCLI:publish /p:Configuration=Release /p:TargetFramework=net7.0-windows /p:SelfContained=false /verbosity:minimal | |
- name: Upload .Net6 Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: net6.0-${{ github.sha }} | |
path: AssetStudioGUI/bin/Release/net6.0-windows/publish | |
- name: Upload .Net7 Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: net7.0-${{ github.sha }} | |
path: AssetStudioGUI/bin/Release/net7.0-windows/publish | |
- name: Upload .Net6 CLI Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: net6.0-${{ github.sha }} | |
path: AssetStudioGUI/bin/Release/net6.0-windows/publish | |
- name: Upload .Net7 CLI Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: net7.0-${{ github.sha }} | |
path: AssetStudioGUI/bin/Release/net7.0-windows/publish |