From d49b8bc5bad9fd81268a814ad682b8a2ce99c6d5 Mon Sep 17 00:00:00 2001 From: Jamie Pine Date: Tue, 30 Dec 2025 16:06:06 -0800 Subject: [PATCH] fix(ci): streamline PowerShell command in GitHub Actions workflow for Windows - Combined multiple PowerShell commands into a single line for improved readability and efficiency. - Maintained the execution policy bypass to ensure scripts can run without restrictions. --- .github/workflows/core_tests.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index ac853a4c7..cdb639e57 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -45,11 +45,8 @@ jobs: - name: Symlink target to C:\ if: ${{ matrix.settings.os == 'windows' }} - shell: powershell run: | - Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force - New-Item -ItemType Directory -Force -Path C:\spacedrive_target - New-Item -Path target -ItemType Junction -Value C:\spacedrive_target + powershell -ExecutionPolicy Bypass -Command "New-Item -ItemType Directory -Force -Path C:\spacedrive_target; New-Item -Path target -ItemType Junction -Value C:\spacedrive_target" - name: Checkout repository uses: actions/checkout@v4