Skip to content

Commit 737d5eb

Browse files
committed
Fix oxipng PATH in workflow install step
1 parent 989e041 commit 737d5eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/convert-and-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
throw 'oxipng.exe was not found after extracting release archive.'
3838
}
3939
$binDir = Split-Path -Path $binPath.FullName -Parent
40+
$env:PATH = "$binDir;$env:PATH"
4041
Add-Content -Path $env:GITHUB_PATH -Value $binDir
41-
oxipng --version
42+
& $binPath.FullName --version
4243
4344
- name: Install OpenXML module
4445
shell: pwsh

0 commit comments

Comments
 (0)