Update 2 dotnet-desktop.yml #1
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 ExplorerTabUtility | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '*' | |
- name: Restore dependencies | |
run: dotnet restore ExplorerTabUtility.sln | |
- name: Build solution | |
run: dotnet build ExplorerTabUtility.sln --configuration Release | |
- name: Publish executable | |
run: dotnet publish ExplorerTabUtility.sln --configuration Release --framework net8.0-windows --output ./output | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ExplorerTabUtility-executable | |
path: ./output |