Skip to content

Commit f570a54

Browse files
committed
Update build and fix ModuleFast
1 parent 67775a3 commit f570a54

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ jobs:
7979
uses: actions/download-artifact@v8
8080
with:
8181
name: build.requires.psd1
82-
- name: Download Build Output
83-
uses: actions/download-artifact@v8
84-
with:
85-
name: ModuleBuilder
86-
path: Modules/ModuleBuilder # /home/runner/work/ModuleBuilder/ModuleBuilder/output/ModuleBuilder
8782
- name: Download Pester Tests
8883
uses: actions/download-artifact@v8
8984
with:
@@ -95,9 +90,15 @@ jobs:
9590
run: | # PowerShell
9691
@(Get-Content build.requires.psd1).Where({ $_ -notmatch "ModuleBuilder"}) | Set-Content build.requires.psd1
9792
- name: ⚡ Install Required Modules
98-
uses: JustinGrote/ModuleFast-action@v0.0.1
93+
uses: JustinGrote/ModuleFast-action@v1.0.1
9994
env:
10095
MODULEFAST_DESTINATION: ${{ github.workspace }}/Modules
96+
# Copy over the build output AFTER Install-ModuleFast, because it's caching my build output :(
97+
- name: Download Build Output
98+
uses: actions/download-artifact@v8
99+
with:
100+
name: ModuleBuilder
101+
path: Modules/ModuleBuilder # /home/runner/work/ModuleBuilder/ModuleBuilder/output/ModuleBuilder
101102
- name: Invoke-Pester
102103
if: matrix.shell == 'powershell'
103104
shell: powershell

0 commit comments

Comments
 (0)