Skip to content

Commit ee1327d

Browse files
committed
Update tasks in build
1 parent 2001c18 commit ee1327d

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
github-token: ${{ secrets.GITHUB_TOKEN }}
2222
version: 'latest' # or pin to an specific version, e.g. "0.8.1"
2323

24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v3
2525
with:
2626
submodules: true
2727
fetch-depth: 0
@@ -39,30 +39,31 @@ jobs:
3939
PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }}
4040

4141
- name: Upload Built Modules
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@v7
4343
with:
44-
name: Modules
45-
path: |
46-
Output/*
47-
!Output/results/*
44+
name: ModuleBuilder
45+
path: Output/ModuleBuilder
46+
if-no-files-found: ignore
4847

49-
- uses: actions/upload-artifact@v4
48+
- uses: actions/upload-artifact@v7
5049
with:
5150
name: TestResults
5251
path: Output/results
52+
if-no-files-found: ignore
5353

5454
# These ones are just for the test matrix
5555
- name: Upload Tests
56-
uses: actions/upload-artifact@v4
56+
uses: actions/upload-artifact@v7
5757
with:
5858
name: PesterTests
5959
path: ${{github.workspace}}/Tests
6060

6161
- name: Upload build.requires.psd1
62-
uses: actions/upload-artifact@v4
62+
uses: actions/upload-artifact@v7
6363
with:
6464
name: build.requires.psd1
6565
path: ${{github.workspace}}/build.requires.psd1
66+
6667
test:
6768
needs: build
6869
runs-on: ${{ matrix.os }}
@@ -108,6 +109,7 @@ jobs:
108109
| Set-Content build.requires.psd1
109110
- name: ⚡ Install Required Modules
110111
uses: JustinGrote/ModuleFast-action@v0.0.1
112+
111113
- name: Invoke Pester Tests
112114
id: pester
113115
uses: zyborg/pester-tests-report@v1
@@ -119,7 +121,7 @@ jobs:
119121
report_title: My Module Tests
120122
github_token: ${{ secrets.GITHUB_TOKEN }}
121123
tests_fail_step: true
122-
skip_check_run: true # Our test results are too large
124+
skip_check_run: false # Our test results are too large
123125
- name: Summarize test results
124126
shell: pwsh
125127
run: | # PowerShell

0 commit comments

Comments
 (0)