refactor dependency installation steps in Windows CI workflow

This commit is contained in:
Nacho Codoñer
2025-12-09 13:53:13 +01:00
committed by italo jose
parent 8c87b75ac6
commit a856fc6e41

View File

@@ -61,7 +61,13 @@ jobs:
restore-keys: |
${{ runner.os }}-meteor-
# 👇 Run ONLY when the cache was NOT restored!
- name: Install dependencies
shell: pwsh
run: |
$env:PATH = "C:\Program Files\7-Zip;$env:PATH"
.\scripts\windows\ci\install.ps1
# Run ONLY when the cache was NOT restored
- name: Prepare Meteor (cache miss)
if: steps.meteor-cache.outputs.cache-hit != 'true'
shell: pwsh
@@ -69,12 +75,6 @@ jobs:
$env:PATH = "C:\Program Files\7-Zip;$env:PATH"
.\meteor.bat --get-ready
- name: Install dependencies
shell: pwsh
run: |
$env:PATH = "C:\Program Files\7-Zip;$env:PATH"
.\scripts\windows\ci\install.ps1
- name: Run tests
shell: pwsh
run: |