File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,11 +125,20 @@ runs:
125125 SLACK_COMMAND : ${{ inputs.command }}
126126 SLACK_TOKEN : ${{ inputs.token }}
127127 run : |
128+ Write-Output "DEBUG: PATH entries:"
129+ $env:PATH -split ';' | Where-Object { $_ -match 'slack' } | ForEach-Object { Write-Output " $_" }
130+ Write-Output "DEBUG: Looking for slack binary..."
131+ Get-Command slack -ErrorAction SilentlyContinue | Format-List
132+ $slackDir = "$env:USERPROFILE\AppData\Local\slack-cli\bin"
133+ Write-Output "DEBUG: Contents of ${slackDir}:"
134+ if (Test-Path $slackDir) { Get-ChildItem $slackDir } else { Write-Output " Directory not found!" }
135+
128136 $args = "$env:SLACK_COMMAND --skip-update"
129137 if ($env:SLACK_TOKEN) {
130138 $args = "$args --token $env:SLACK_TOKEN"
131139 }
132140
141+ Write-Output "DEBUG: Running: slack $args"
133142 $output = slack $args.Split(' ') 2>&1 | Out-String
134143 $exit_code = $LASTEXITCODE
135144
You can’t perform that action at this time.
0 commit comments