ci: update chocolately syntax and update nasm to 2.16.1 (#2710)

This commit is contained in:
Tyler Wilding
2023-06-08 23:01:50 -05:00
committed by GitHub
parent f5ad85b4cd
commit 33bf73636b
5 changed files with 74 additions and 54 deletions
+8 -1
View File
@@ -29,7 +29,14 @@ jobs:
uses: actions/checkout@v3
- name: Install NASM
run: choco install ${{ github.workspace }}/third-party/nasm/nasm.2.15.05.nupkg
# TODO - Simplify this with just the first command once choco 2.0 rolls out everywhere
run: |
$chocoVersion = choco --version
if ($chocoVersion.StartsWith("v2")) {
choco install nasm --source="${{ github.workspace }}/third-party/nasm"
} else {
choco install ${{ github.workspace }}/third-party/nasm/old/nasm.2.15.05.nupkg
}
- name: Setup Buildcache
uses: mikehardy/buildcache-action@v2.1.0
+8 -1
View File
@@ -28,7 +28,14 @@ jobs:
uses: actions/checkout@v3
- name: Install NASM
run: choco install ${{ github.workspace }}/third-party/nasm/nasm.2.15.05.nupkg
# TODO - Simplify this with just the first command once choco 2.0 rolls out everywhere
run: |
$chocoVersion = choco --version
if ($chocoVersion.StartsWith("v2")) {
choco install nasm --source="${{ github.workspace }}/third-party/nasm"
} else {
choco install ${{ github.workspace }}/third-party/nasm/old/nasm.2.15.05.nupkg
}
- name: Setup Buildcache
uses: mikehardy/buildcache-action@v2.1.0