File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 4747 with :
4848 toit-version : ' v2.0.0-alpha.174'
4949
50- - name : Install Toit packages
50+ - name : Install Toit packages (Posix)
51+ if : runner.os == 'Linux' || runner.os == 'macOS'
5152 shell : bash
5253 run : |
5354 cd ${{ github.action_path }}
5960 INPUT_PATH : ${{ inputs.path }}
6061 shell : bash
6162 run : |
62- echo "Running"
6363 IFS=$'\n' read -r -a paths <<< "$INPUT_PATH"
6464
6565 function sign_file() {
8686 fi
8787 done
8888
89+ - name : Install Toit packages (Windows)
90+ if : runner.os == 'Windows'
91+ shell : powershell
92+ run : |
93+ cd ${{ github.action_path }}
94+ toit pkg install
95+
8996 - name : Sign (Windows)
9097 if : runner.os == 'Windows'
9198 env :
@@ -101,10 +108,8 @@ runs:
101108 param(
102109 [string]$Path
103110 )
104- Write-Host "Signing: $Path"
105111 if (-not [string]::IsNullOrEmpty($Path)) {
106112 $outputFile = New-TemporaryFile
107- Write-Host "Temporary file created: $($outputFile.FullName)"
108113
109114 $toitCommand = "toit"
110115 $toitArgs = @(
@@ -119,8 +124,6 @@ runs:
119124 & $toitCommand @toitArgs
120125
121126 Move-Item -Path "$outputFile.FullName" -Destination "$Path" -Force
122-
123- Write-Host "Command executed and output moved for: $Path"
124127 }
125128 }
126129
You can’t perform that action at this time.
0 commit comments