From 9210c41f6f7ecbb63c85fff75f7dc6cfca283ac5 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Sat, 21 Dec 2024 00:32:41 +0100 Subject: [PATCH] refactor: smoke-testing bash -> powershell --- .github/workflows/smoke-testing.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/smoke-testing.yml b/.github/workflows/smoke-testing.yml index 2bb61a6ca1..d6548b0c2e 100644 --- a/.github/workflows/smoke-testing.yml +++ b/.github/workflows/smoke-testing.yml @@ -124,10 +124,12 @@ jobs: GH_TOKEN: ${{ github.token }} run: | if ("${{ matrix.client }}" -eq "Official") { - mkdir temp - cd temp + New-Item -ItemType Directory -Path temp -Force | Out-Null + Set-Location temp + git init git remote add origin https://github.com/MaaAssistantArknights/MaaAssistantArknights.git - echo "Deleting the cache..." + + Write-Host "Deleting cache: DELETE_KEY-smoke-testing-artifact-${{ github.ref }}" gh cache delete DELETE_KEY-smoke-testing-artifact-${{ github.ref }} }