-
-
Notifications
You must be signed in to change notification settings - Fork 383
33 lines (28 loc) · 703 Bytes
/
Copy pathgen-pdf.yaml
File metadata and controls
33 lines (28 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
name: Generate PDF using Pandoc (Docker)
on:
push:
branches:
- master
workflow_dispatch: null
jobs:
create_pdf:
runs-on: ubuntu-latest
container:
image: pandoc/latex:3
steps:
- uses: actions/checkout@v7
- uses: docker://pandoc/latex:3
timeout-minutes: 10
with:
entrypoint: './pandoc-docker.sh'
- id: short_sha
env:
GITHUB_SHA: ${{ github.sha }}
run: echo "short_sha=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
- uses: softprops/action-gh-release@v3
with:
tag_name: version-${{ steps.short_sha.outputs.short_sha }}
draft: false
files: |
*.pdf