aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-07-18 12:27:29 -0700
committerJohn MacFarlane <[email protected]>2023-07-18 12:27:29 -0700
commitf75bec526d2db4ba9926d7a138f4d9430450daac (patch)
tree48258e1a669598c9d0c8902730800ebd7c835531
parentb2f3da9df18284c9fe9cfc9ee4f258a28ba98eab (diff)
Attempt to fix windows release buildwindows-release-cabal
-rw-r--r--.github/workflows/release-candidate.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml
index 5cc2ac2b4..0fba6ac03 100644
--- a/.github/workflows/release-candidate.yml
+++ b/.github/workflows/release-candidate.yml
@@ -37,7 +37,7 @@ jobs:
cabal build ${{ matrix.versions.cabal_opts }} pandoc-cli
for /f "delims=" %%a in ('cabal list-bin ${{ matrix.versions.cabal_opts }} pandoc-cli') do set BINPATH=%%a
echo BINPATH is %BINPATH%
- for /f "tokens=1-2 delims= " %%a in ("%BINPATH% --version") do (
+ for /f "tokens=1-2 delims= " %%a in ('cabal run ${{ matrix.versions.cabal_opts }} pandoc-cli -- --version') do (
@set VERSION=%%b
goto :next
)