summaryrefslogtreecommitdiff
path: root/.github/workflows/kitchen.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/kitchen.yml')
-rw-r--r--.github/workflows/kitchen.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/kitchen.yml b/.github/workflows/kitchen.yml
index 267e8d88e2..f2c278aa6c 100644
--- a/.github/workflows/kitchen.yml
+++ b/.github/workflows/kitchen.yml
@@ -44,13 +44,6 @@ jobs:
run: |
cd kitchen-tests
$env:PATH = "C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;" + $env:PATH
- bundle install --jobs=3 --retry=3
- # If ($lastexitcode -ne 0) { Exit $lastexitcode }
- # The bundle install command above fails because our build on windows on ruby-3.0 is
- # completely broken when it comes to installing native gems. Until that is fixed we
- # need to ignore that error code and to manually install berkshelf below. This is a
- # very bad hack.
-
# htmldiff and ldiff on windows cause a conflict with gems being loaded below.
# we remove thenm here.
if (Test-Path C:\opscode\chef\embedded\bin\htmldiff)
@@ -64,6 +57,14 @@ jobs:
$output = gci -path C:\opscode\ -file ansidecl.h -Recurse
$target_path = $($output.Directory.Parent.FullName + "\x86_64-w64-mingw32\include")
Move-Item -Path $output.FullName -Destination $target_path
+
+ bundle install --jobs=3 --retry=3
+ # If ($lastexitcode -ne 0) { Exit $lastexitcode }
+ # The bundle install command above fails because our build on windows on ruby-3.0 is
+ # completely broken when it comes to installing native gems. Until that is fixed we
+ # need to ignore that error code and to manually install berkshelf below. This is a
+ # very bad hack.
+
If ($lastexitcode -ne 0) { Exit $lastexitcode }
gem install berkshelf --no-doc
If ($lastexitcode -ne 0) { Exit $lastexitcode }