mirror of
https://github.com/meteor/meteor.git
synced 2026-01-10 08:08:24 -05:00
refactor dependency installation steps in Windows CI workflow
This commit is contained in:
committed by
italo jose
parent
8c87b75ac6
commit
a856fc6e41
14
.github/workflows/windows-selftest.yml
vendored
14
.github/workflows/windows-selftest.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user