diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f4ec907a1..f67a066ba7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,8 @@ jobs: New-Item -ItemType directory -Path .pkg-cache Invoke-RestMethod -Uri $fetchedUrl -OutFile ".pkg-cache/fetched-v10.4.1-win-x64" + dir + dir .pkg-cache - name: Download & Install RH shell: pwsh @@ -60,10 +62,13 @@ jobs: echo "WIN_PKG=$env:WIN_PKG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append echo "version: $env:pkgVersion" + dir if(Test-Path -Path $env:WIN_PKG) { Write-Host "Path exists $env:WIN_PKG" echo "VER_INFO=true" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append } + + exit 1 env: WIN_PKG: .pkg-cache/v2.5/fetched-v10.4.1-win-x64 @@ -221,6 +226,7 @@ jobs: # This process seems independent from the others build_snap: name: Build Snap + if: false runs-on: ubuntu-latest steps: - name: Checkout repo