Skip to content

Commit 429627b

Browse files
🩹 [CI]: Remove 'Needs' input from Get-TestResults workflow for simplification
1 parent 07d3d44 commit 429627b

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

ā€Ž.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ jobs:
172172
uses: ./.github/workflows/Get-TestResults.yml
173173
secrets: inherit
174174
with:
175-
Needs: ${{ toJson(needs) }}
176175
Debug: ${{ inputs.Debug }}
177176
Prerelease: ${{ inputs.Prerelease }}
178177
Verbose: ${{ inputs.Verbose }}

ā€Ž.github/workflows/Get-TestResults.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ name: Get-TestResults
33
on:
44
workflow_call:
55
inputs:
6-
Needs:
7-
type: string
8-
description: The json objects representing the jobs that this job depends on.
9-
required: false
10-
default: ''
116
Debug:
127
type: boolean
138
description: Enable debug output.
@@ -42,14 +37,6 @@ jobs:
4237
name: Get-TestResults
4338
runs-on: ubuntu-latest
4439
steps:
45-
- name: Needs
46-
shell: pwsh
47-
env:
48-
Needs: ${{ inputs.Needs }}
49-
run: |
50-
$env:Needs
51-
$env:Needs | ConvertFrom-Json
52-
5340
- name: Get-TestResults
5441
uses: PSModule/Get-PesterTestResults@v1
5542
id: Get-TestResults

ā€Ž.github/workflows/workflow.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ jobs:
177177
uses: ./.github/workflows/Get-TestResults.yml
178178
secrets: inherit
179179
with:
180-
Needs: ${{ toJson(needs) }}
181180
Debug: ${{ inputs.Debug }}
182181
Prerelease: ${{ inputs.Prerelease }}
183182
Verbose: ${{ inputs.Verbose }}

0 commit comments

Comments
Ā (0)