Skip to content

Commit

Permalink
👷 fix gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Oct 10, 2024
1 parent 226acfb commit c961f8c
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
env:
GH_BOT_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
GH_BOT_NAME: "GitHub Action"
PANDOCK: ebullient/pandoc-emoji:3.1
PANDOCK: ghcr.io/commonhaus/pandoc-pdf:3.1

permissions:
contents: read
Expand Down Expand Up @@ -46,22 +46,6 @@ jobs:
with:
fetch-depth: 0

- run: mkdir -p ~/image-cache

- id: image-cache
uses: actions/[email protected]
with:
path: ~/image-cache
key: image-cache-${{ runner.os }}

- if: steps.image-cache.outputs.cache-hit != 'true'
run: |
docker pull ${PANDOCK}
docker save -o ~/image-cache/pandock.tar alpine
- if: steps.image-cache.outputs.cache-hit == 'true'
run: docker load -i ~/image-cache/pandock.tar

- name: convert md to pdf
env:
GIT_COMMIT: ${{ github.sha }}
Expand Down

0 comments on commit c961f8c

Please sign in to comment.