Skip to content

Commit

Permalink
Update tex-pdf.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaldon authored Aug 12, 2024
1 parent 9d77bf7 commit 87244a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tex-pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
# check to see if there's a previous commit on the branch
# if not, then diff with origin/main
# if yes, then diff with the HEAD @ prevous commit
git fetch --depth=1 origin main
if [[ "${{ github.event.before }}" == "0000000000000000000000000000000000000000" ]] ; then
git fetch --depth=1 origin main
export DIFF=$( git diff --name-only origin/main ${{ github.sha }} )
echo "Diff between origin/main and ${{ github.sha }} "
else
Expand Down

0 comments on commit 87244a2

Please sign in to comment.