Skip to content

.NET 8 Upgrade

.NET 8 Upgrade #16

Workflow file for this run

name: Build Launchbar
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x
- name: Restore dependencies
run: dotnet restore Source/Launchbar.sln
- name: Build
run: dotnet build Source/Launchbar.sln --no-restore --configuration Release
- name: Test
run: dotnet test Source/Launchbar.sln --no-build --verbosity normal
- name: Publish
run: dotnet publish Source/Launchbar.sln --no-build --configuration Release
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Launchbar
path: Source/Launchbar/bin/Release/publish/**
if-no-files-found: error