From 263fa66f7fb58027b2d964271c3ddcef9784d020 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Thu, 30 Mar 2023 18:13:45 -0400 Subject: [PATCH] GH-Actions: Using winget instead, win-server 2019. --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 107df02..294fc78 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,19 +18,19 @@ on: jobs: build: - runs-on: windows-latest + runs-on: windows-2019 steps: - name: Check out repository uses: actions/checkout@v2 - - name: Install Meson, Ninja, and Clang with Scoop + - name: Install Meson, Ninja, and Clang with winget shell: pwsh run: | $ErrorActionPreference = "Stop" - $env:SCOOP_ALLOW_ADMIN_INSTALL = "1" - iex (new-object net.webclient).downloadstring('https://get.scoop.sh') - scoop install meson ninja llvm + winget install --id=MesonBuild.Meson --exact + winget install --id=Ninja --exact + winget install --id=LLVM --exact - name: Run PowerShell build script shell: pwsh