From 634f27b347dbe618d3a87885936c0a662d1bc044 Mon Sep 17 00:00:00 2001 From: Dipankar Das <65275144+dipankardas011@users.noreply.github.com> Date: Fri, 31 May 2024 21:22:21 +0530 Subject: [PATCH] fix: windows errors Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com> --- .github/workflows/test-mock.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-mock.yml b/.github/workflows/test-mock.yml index c31027c..cea2c52 100644 --- a/.github/workflows/test-mock.yml +++ b/.github/workflows/test-mock.yml @@ -50,7 +50,7 @@ jobs: Set-PSDebug -Trace 2 cd .\scripts .\builder.ps1 - echo "KSCTL_BIN=.\$env:LOCALAPPDATA\ksctl\ksctl.exe" >> "${GITHUB_ENV}" + echo "KSCTL_BIN=$env:LOCALAPPDATA\ksctl\ksctl.exe" >> $env:GITHUB_ENV - name: build ksctl linux if: ${{ matrix.os == 'ubuntu-latest' }} @@ -146,20 +146,20 @@ jobs: - name: civo switch run: | ${{env.KSCTL_BIN}} switch -p civo -n demo -s store-local -r LON1 - ${{env.KSCTL_BIN}} switch -p ha-civo -n ha-demo-k3s -s store-local -r LON1 --bootstrap k3s - ${{env.KSCTL_BIN}} switch -p ha-civo -n ha-demo-kubeadm -s store-local -r LON1 --bootstrap kubeadm + ${{env.KSCTL_BIN}} switch -p ha-civo -n ha-demo-k3s -s store-local -r LON1 + ${{env.KSCTL_BIN}} switch -p ha-civo -n ha-demo-kubeadm -s store-local -r LON1 - name: aws switch run: | # ${{env.KSCTL_BIN}} switch -p aws -n demo -s store-local -r fake - ${{env.KSCTL_BIN}} switch -p ha-aws -n ha-demo-k3s -s store-local -r fake --bootstrap k3s - ${{env.KSCTL_BIN}} switch -p ha-aws -n ha-demo-kubeadm -s store-local -r fake --bootstrap kubeadm + ${{env.KSCTL_BIN}} switch -p ha-aws -n ha-demo-k3s -s store-local -r fake + ${{env.KSCTL_BIN}} switch -p ha-aws -n ha-demo-kubeadm -s store-local -r fake - name: azure switch run: | ${{env.KSCTL_BIN}} switch -p azure -n demo -s store-local -r fake - ${{env.KSCTL_BIN}} switch -p ha-azure -n ha-demo-k3s -s store-local -r fake --bootstrap k3s - ${{env.KSCTL_BIN}} switch -p ha-azure -n ha-demo-kubeadm -s store-local -r fake --bootstrap kubeadm + ${{env.KSCTL_BIN}} switch -p ha-azure -n ha-demo-k3s -s store-local -r fake + ${{env.KSCTL_BIN}} switch -p ha-azure -n ha-demo-kubeadm -s store-local -r fake - name: local switch run: |