Skip to content

Commit 21a4509

Browse files
🩹 [CI]: Update job conditions and paths in workflow for improved reliability and clarity
1 parent 7e9df45 commit 21a4509

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎.github/workflows/workflow.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ jobs:
187187

188188
Get-TestResults:
189189
name: Get-TestResults
190+
if: always() && !cancelled()
190191
needs:
191192
- Test-SourceCode
192193
- Test-Module
@@ -201,6 +202,7 @@ jobs:
201202

202203
Get-CodeCoverage:
203204
name: Get-CodeCoverage
205+
if: always() && !cancelled()
204206
needs:
205207
- Test-SourceCode
206208
- Test-Module
@@ -241,13 +243,13 @@ jobs:
241243
uses: actions/download-artifact@v4
242244
with:
243245
name: module
244-
path: ${{ inputs.ModulesOutputPath }}
246+
path: ${{ inputs.WorkingDirectory }}/outputs/module
245247

246248
- name: Publish module
247249
uses: PSModule/Publish-PSModule@v1
248250
with:
249251
Name: ${{ inputs.Name }}
250-
ModulePath: ${{ inputs.ModulesOutputPath }}
252+
ModulePath: ${{ inputs.WorkingDirectory }}/outputs/module
251253
APIKey: ${{ secrets.APIKEY }}
252254
WhatIf: ${{ inputs.TestProcess }}
253255
Debug: ${{ inputs.Debug }}

0 commit comments

Comments
 (0)