From 66121395cfa60ab72d8aa475dd9f59434a2401ee Mon Sep 17 00:00:00 2001 From: Elias Holzer Date: Mon, 18 Sep 2023 12:02:32 +0200 Subject: [PATCH] Runs build on Windows machine - seems building on Linux causes the exe to generate a console window --- .github/workflows/main.yml | 6 +++--- Directory.Build.props | 2 +- build/Build.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9ac8ee..ce9e70a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,9 +19,9 @@ name: main on: [workflow_dispatch, push] jobs: - ubuntu-latest: - name: ubuntu-latest - runs-on: ubuntu-latest + windows-latest: + name: windows-latest + runs-on: windows-latest steps: - uses: actions/checkout@v3 with: diff --git a/Directory.Build.props b/Directory.Build.props index 4496722..26d3d21 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -11,7 +11,7 @@ $([System.DateTime]::Now.ToString('yyyy')) - 0.5.0-preview.3 + 0.5.0-preview.4 vvvv group diff --git a/build/Build.cs b/build/Build.cs index 43359e0..fac9e93 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -16,7 +16,7 @@ [GitHubActions( "main", - GitHubActionsImage.UbuntuLatest, + GitHubActionsImage.WindowsLatest, On = new[] { GitHubActionsTrigger.WorkflowDispatch, GitHubActionsTrigger.Push }, Lfs = true, Submodules = GitHubActionsSubmodules.Recursive,