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 .