Skip to content

Switch to a windows runner for github actions #32

Switch to a windows runner for github actions

Switch to a windows runner for github actions #32

Workflow file for this run

name: Test Build Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Master
uses: actions/checkout@v3
with:
submodules: true
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 7.0.x
- name: Add Package Source
run: dotnet nuget add source --name SamBoy "https://nuget.samboy.dev/v3/index.json"
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test Build
run: dotnet test --no-build --verbosity normal
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: 'ValheimExportHelper'
# A file, directory or wildcard pattern that describes what to upload
path: 'ValheimExportHelper/bin/Debug/net7.0/'