Skip to content

Commit c724f55

Browse files
committed
ci: Publish version folder as artifact
1 parent b4a38c8 commit c724f55

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/CI.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@ jobs:
2727
shell: powershell
2828
run: |
2929
.\build.ps1 -Task Test -Bootstrap -ErrorAction Stop
30-
"ModulePath=$($env:BHBuildOutput)" | Add-Content "$($env:GITHUB_OUTPUT)"
30+
"ModulePath=$(Split-Path $env:BHBuildOutput -Parent)" | Add-Content "$($env:GITHUB_OUTPUT)"
31+
32+
- uses: actions/upload-artifact@v4
33+
with:
34+
name: MilestoneSystems.PowerShell.MediaDB
35+
path: ${{ steps.build.outputs.ModulePath }}
3136

3237
- name: Publish Windows Test Results
38+
if: always()
3339
uses: EnricoMi/publish-unit-test-result-action/windows@v2
3440
with:
3541
files: |
3642
tests/out/*.xml
37-
38-
- uses: actions/upload-artifact@v4
39-
with:
40-
name: MilestoneSystems.PowerShell.MediaDB
41-
path: ${{ steps.build.outputs.ModulePath }}

0 commit comments

Comments
 (0)