Skip to content

Commit 334bdbe

Browse files
allow version override
1 parent 6231472 commit 334bdbe

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/Process-PSModule.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
description: 'The ErrorActionPreference to use when running tests on source code'
2727
required: false
2828
default: 'Stop'
29+
Version:
30+
type: string
31+
description: 'The version of the module to process'
32+
required: false
2933

3034
jobs:
3135
Get-PSModuleNames:
@@ -66,6 +70,8 @@ jobs:
6670

6771
- name: Initialize environment
6872
uses: PSModule/Initialize-PSModule@main
73+
with:
74+
Version: ${{ inputs.Version }}
6975

7076
- name: Test source code
7177
uses: PSModule/Test-PSModule@main

0 commit comments

Comments
 (0)