diff --git a/.github/workflows/reindex_on_merge.yml b/.github/workflows/reindex_on_merge.yml index 8e6e400..cfdee24 100644 --- a/.github/workflows/reindex_on_merge.yml +++ b/.github/workflows/reindex_on_merge.yml @@ -14,14 +14,14 @@ jobs: # This condition ensures the job only runs if the pull request was actually merged. if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' - # This tells GitHub to run this job on one of your self-hosted runners. runs-on: Windows # *** KEY CHANGE *** - # Set the default shell to PowerShell, which is native to your Windows runner. + # Changed the shell from 'pwsh' to 'powershell' to use the default + # Windows PowerShell, which should be available on your runner. defaults: run: - shell: pwsh + shell: powershell steps: # Step 1: Check out the repository's code