Skip to content

Commit

Permalink
win build again step 11
Browse files Browse the repository at this point in the history
  • Loading branch information
blandger committed Jan 11, 2025
1 parent 43931fa commit 01ddc7e
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,22 @@ jobs:
# Verify file exists
if [ -f "$EPUBCHECK_JAR" ]; then
echo "JAR file exists at: $EPUBCHECK_JAR"
echo "JAR file exists at: $EPUBCHECK_JAR"
else
echo "JAR file not found at: $EPUBCHECK_JAR"
exit 1
echo "JAR file not found at: $EPUBCHECK_JAR"
exit 1
fi
# Set epubcheck path using working approach
EPUBCHECK_JAR="$GITHUB_WORKSPACE\epubcheck\epubcheck-5.2.0\epubcheck.jar"
echo "EPUBCHECK_PATH=$EPUBCHECK_JAR" >> "$GITHUB_ENV"
# Debug output
echo "Debug: Setting EPUBCHECK_PATH to: $EPUBCHECK_JAR"
echo "Debug: EPUBCHECK_JAR value is: $EPUBCHECK_JAR"
# Verify the value
echo "Debug: Current GITHUB_ENV contents:"
cat "$GITHUB_ENV"
# Show current value
echo "Current environment variables:"
env | grep EPUBCHECK
# Setup full path to jar file
# echo "EPUBCHECK_PATH=%GITHUB_WORKSPACE%\epubcheck\epubcheck-5.2.0\epubcheck.jar" >> $GITHUB_ENV
# cmd.exe /c "echo Set EPUBCHECK_PATH to: %GITHUB_WORKSPACE%\epubcheck\epubcheck-5.2.0\epubcheck.jar"
# Check if file exists
# cmd.exe /c "if exist ${{ github.workspace }}\epubcheck\epubcheck-5.2.0\epubcheck.jar (echo JAR file found) else (echo JAR file not found)"
epubcheck-path: "${{ github.workspace }}\epubcheck\epubcheck-5.2.0\epubcheck.jar"
# Show current directory structure
ls -la "$GITHUB_WORKSPACE\epubcheck\epubcheck-5.2.0"
epubcheck-path: "$EPUBCHECK_JAR"

# - os: macos-latest
# install-epubcheck: brew install epubcheck
Expand Down

0 comments on commit 01ddc7e

Please sign in to comment.