Skip to content

Update 3 dotnet-desktop.yml #2

Update 3 dotnet-desktop.yml

Update 3 dotnet-desktop.yml #2

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-windows10.0.19041 --output ./output
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ExplorerTabUtility-executable
path: ./output