Skip to content

Update 4 dotnet-desktop.yml #6

Update 4 dotnet-desktop.yml

Update 4 dotnet-desktop.yml #6

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