Skip to content

Commit bb6c0c4

Browse files
committed
Start reducing manual debugging lines. Make pwsh debugging option more robust with .
1 parent 63cbc6d commit bb6c0c4

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

Diff for: action.yml

+1-21
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,6 @@ runs:
8686
brew tap coverallsapp/coveralls --quiet
8787
brew install coveralls --quiet
8888
89-
# Debugging output to see where Homebrew installs coveralls
90-
echo "Homebrew bin directory:"
91-
echo $(brew --prefix)/bin
92-
93-
# List files in the Homebrew bin directory
94-
echo "Listing files in $(brew --prefix)/bin:"
95-
ls -la $(brew --prefix)/bin
96-
9789
# Check if the binary exists in the possible locations
9890
if [ -f /usr/local/bin/coveralls ]; then
9991
echo "/usr/local/bin" >> $GITHUB_PATH
@@ -140,12 +132,6 @@ runs:
140132
exit 1
141133
fi
142134
143-
# List files to ensure they are downloaded
144-
echo "Show current directory:"
145-
pwd
146-
echo "Downloaded files:"
147-
ls -la
148-
149135
# Verify the downloaded binary
150136
if ! grep coveralls-linux.tar.gz coveralls-checksums.txt | sha256sum --check; then
151137
echo "Checksum verification failed (Linux)."
@@ -156,12 +142,6 @@ runs:
156142
# Extract the tar.gz file
157143
tar -xzf coveralls-linux.tar.gz
158144
159-
# List files again to verify extraction
160-
echo "Show current directory:"
161-
pwd
162-
echo "Files after extraction:"
163-
ls -la
164-
165145
rm coveralls-checksums.txt
166146
echo ~/bin >> $GITHUB_PATH
167147
@@ -178,7 +158,7 @@ runs:
178158
shell: pwsh
179159
run: |
180160
if ("${{ inputs.debug }}" -eq "true") {
181-
$DebugPreference = 'Continue'
161+
Set-PSDebug -Trace 1
182162
}
183163
184164
New-Item -Path $env:HOME\bin -ItemType directory -Force

0 commit comments

Comments
 (0)