Skip to content

Commit 82f2d6f

Browse files
committed
Fix workflow
1 parent 1a56d18 commit 82f2d6f

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/build.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
submodules: true
2121
fetch-depth: 0
2222

23+
- name: earthly +build
24+
if: github.ref != 'refs/heads/main'
25+
run: earthly --strict +build
26+
2327
- name: earthly +test
2428
if: github.ref != 'refs/heads/main'
2529
run: earthly --strict +test
@@ -34,18 +38,18 @@ jobs:
3438

3539
- uses: actions/upload-artifact@v4
3640
with:
37-
name: ModuleBuilder
38-
path: Modules/ModuleBuilder
41+
name: ErrorView
42+
path: Modules/ErrorView
3943

4044
- uses: actions/upload-artifact@v4
4145
with:
4246
name: TestResults
43-
path: Modules/ModuleBuilder-TestResults
47+
path: Modules/ErrorView-TestResults
4448

4549
- uses: actions/upload-artifact@v4
4650
with:
4751
name: Packages
48-
path: Modules/ModuleBuilder-Packages
52+
path: Modules/ErrorView-Packages
4953

5054
- name: Upload Tests
5155
uses: actions/upload-artifact@v4
@@ -68,8 +72,8 @@ jobs:
6872
- name: Download Build Output
6973
uses: actions/download-artifact@v4
7074
with:
71-
name: ModuleBuilder
72-
path: Modules/ModuleBuilder
75+
name: ErrorView
76+
path: Modules/ErrorView
7377
- name: Download Pester Tests
7478
uses: actions/download-artifact@v4
7579
with:
@@ -83,15 +87,15 @@ jobs:
8387
- uses: PoshCode/Actions/install-requiredmodules@v1
8488
- uses: PoshCode/Actions/pester@v1
8589
with:
86-
codeCoveragePath: Modules/ModuleBuilder
87-
moduleUnderTest: ModuleBuilder
90+
codeCoveragePath: Modules/ErrorView
91+
moduleUnderTest: ErrorView
8892
additionalModulePaths: ${{github.workspace}}/Modules
8993
- name: Publish Test Results
9094
uses: zyborg/dotnet-tests-report@v1
9195
with:
9296
test_results_path: results.xml
9397
- name: Upload Results
94-
uses: actions/upload-artifact@v2
98+
uses: actions/upload-artifact@v4
9599
with:
96100
name: Pester Results
97101
path: ${{github.workspace}}/*.xml

0 commit comments

Comments
 (0)