File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1+ rules :
2+ template-injection :
3+ ignore :
4+ - action.yml
Original file line number Diff line number Diff line change 8080 working-directory : ${{ inputs.WorkingDirectory }}
8181 env :
8282 PSMODULE_GITHUB_SCRIPT_INPUT_Name : ${{ inputs.Name }}
83- PSMODULE_GITHUB_SCRIPT_INPUT_Script : ${{ inputs.Script }}
8483 PSMODULE_GITHUB_SCRIPT_INPUT_Token : ${{ inputs.Token }}
8584 PSMODULE_GITHUB_SCRIPT_INPUT_ClientID : ${{ inputs.ClientID }}
8685 PSMODULE_GITHUB_SCRIPT_INPUT_PrivateKey : ${{ inputs.PrivateKey }}
@@ -95,16 +94,14 @@ runs:
9594 PSMODULE_GITHUB_SCRIPT_INPUT_ErrorView : ${{ inputs.ErrorView }}
9695 PSMODULE_GITHUB_SCRIPT_INPUT_PreserveCredentials : ${{ inputs.PreserveCredentials }}
9796 run : |
97+ # ${{ inputs.Name }}
9898 $ErrorView = $env:PSMODULE_GITHUB_SCRIPT_INPUT_ErrorView
9999 $DebugPreference = $env:PSMODULE_GITHUB_SCRIPT_INPUT_Debug -eq 'true' ? 'Continue' : 'SilentlyContinue'
100100 $VerbosePreference = $env:PSMODULE_GITHUB_SCRIPT_INPUT_Verbose -eq 'true' ? 'Continue' : 'SilentlyContinue'
101101 try {
102102 ${{ github.action_path }}/scripts/init.ps1
103103 ${{ github.action_path }}/scripts/info.ps1
104- $scriptText = $env:PSMODULE_GITHUB_SCRIPT_INPUT_Script
105- if (-not [string]::IsNullOrWhiteSpace($scriptText)) {
106- & ([scriptblock]::Create($scriptText))
107- }
104+ ${{ inputs.Script }}
108105 ${{ github.action_path }}/scripts/outputs.ps1
109106 }
110107 finally {
You can’t perform that action at this time.
0 commit comments