mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-21 22:44:45 -08:00
GH-Actions: Using winget instead, win-server 2019.
This commit is contained in:
parent
6e9d35cb37
commit
263fa66f7f
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user