Skip to content

Commit

Permalink
Fix build loop
Browse files Browse the repository at this point in the history
  • Loading branch information
reijoh committed Mar 22, 2024
1 parent cd295fd commit a5ea69a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:
if: ${{ matrix.stack != 'static' }}
run: make extra

- name: Create freeze file on fail
if: failure()
run: |
export PANDOC_VERSION=3.1.12
make alpine-freeze-file
- name: Publish freeze file on fail
if: failure()
uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb #v4.3.1 + 3 commits
Expand Down
4 changes: 1 addition & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ fi

pandoc_version_opts=$(grep "^| *${pandoc_commit} *|" "$version_table_file")
if [ -z "$pandoc_version_opts" ]; then
printf 'Unsupported version: %s; trying to create freeze file!\n' "$pandoc_commit" >&2
export PANDOC_VERSION="$pandoc_commit"
make alpine-freeze-file
printf 'Unsupported version: %s; aborting!\n' "$pandoc_commit" >&2
exit 1
fi

Expand Down

0 comments on commit a5ea69a

Please sign in to comment.