Skip to content

Update workflows

Update workflows #55

Workflow file for this run

name: MacOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
configuration: [Release]
runs-on: macos-latest
env:
Solution_Name: SwitchGiftDataManager.sln
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build SwitchGiftDataManager.CommandLine/SwitchGiftDataManager.CommandLine.csproj --configuration Release --no-restore
- name: Test
run: dotnet test SwitchGiftDataManager.CommandLine/SwitchGiftDataManager.CommandLine.csproj --no-restore --verbosity normal
- name: Upload MacOS CommandLine build artifacts
uses: actions/upload-artifact@v4
with:
name: MacOS.CommandLine.App
path: SwitchGiftDataManager.CommandLine/bin