mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-21 22:44:45 -08:00
Switching to chocolately as for some reason gh-actions doesn't support winget...
This commit is contained in:
parent
263fa66f7f
commit
b08ff787a8
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -18,19 +18,19 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Meson, Ninja, and Clang with winget
|
||||
- name: Install Meson, Ninja, and Clang with Chocolatey
|
||||
shell: pwsh
|
||||
run: |
|
||||
$ErrorActionPreference = "Stop"
|
||||
winget install --id=MesonBuild.Meson --exact
|
||||
winget install --id=Ninja --exact
|
||||
winget install --id=LLVM --exact
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
choco install -y meson ninja llvm
|
||||
|
||||
- name: Run PowerShell build script
|
||||
shell: pwsh
|
||||
|
Loading…
Reference in New Issue
Block a user