From eeca6cb7efe83fae41b72b8d03ac06804d99f09e Mon Sep 17 00:00:00 2001 From: irkode Date: Sat, 27 Jul 2024 15:34:26 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f9e1fe..c2dccc6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,13 +63,13 @@ jobs: } } | Sort-Object -Property version | Select-Object -First 1 if ($BulmaRelease) { - Write-Output "Downloading Bulma $($BulmaRelease.version) + Write-Output "Downloading Bulma $($BulmaRelease.version)" [void](New-Item -Type Directory ./assets -ErrorAction Stop) - if (-Not (Test-Path .\assets -PathType Container)) { throw ".\assets should exist"} + if (-Not (Test-Path .\assets -PathType Container)) { throw "missing folder: assets"} Expand-Archive -LiteralPath $archive -DestinationPath .\assets if (Test-Path .\assets\__MACOSX) { Remove-Item .\assets\__MACOSX -ErrorAction SilentlyContinue -Recurse } Rename-Item .\assets\$bulmaFolder "bulma" - if (-Not (Test-Path ./assets/bulma -PathType Container)) { throw "missing ./assets/bulma folder"} + if (-Not (Test-Path ./assets/bulma -PathType Container)) { throw "missing folder: assets/bulma folder"} "BULMAVERSION='$($BulmaVersion)'" | Set-Content -Append $GITHUB_ENV } Get-ChildItem .