mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 06:05:15 -04:00
ci: fix chocolately, version number doesn't have a v prefix (#2711)
This commit is contained in:
@@ -32,7 +32,7 @@ jobs:
|
||||
# TODO - Simplify this with just the first command once choco 2.0 rolls out everywhere
|
||||
run: |
|
||||
$chocoVersion = choco --version
|
||||
if ($chocoVersion.StartsWith("v2")) {
|
||||
if ($chocoVersion.StartsWith("2.")) {
|
||||
choco install nasm --source="${{ github.workspace }}/third-party/nasm"
|
||||
} else {
|
||||
choco install ${{ github.workspace }}/third-party/nasm/old/nasm.2.15.05.nupkg
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
# TODO - Simplify this with just the first command once choco 2.0 rolls out everywhere
|
||||
run: |
|
||||
$chocoVersion = choco --version
|
||||
if ($chocoVersion.StartsWith("v2")) {
|
||||
if ($chocoVersion.StartsWith("2.")) {
|
||||
choco install nasm --source="${{ github.workspace }}/third-party/nasm"
|
||||
} else {
|
||||
choco install ${{ github.workspace }}/third-party/nasm/old/nasm.2.15.05.nupkg
|
||||
|
||||
Reference in New Issue
Block a user