Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikmaeckel authored Oct 16, 2024
1 parent cef6c17 commit 80884bd
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,30 @@ jobs:
build:
runs-on: ubuntu-latest

container:
image: texlive/texlive:latest

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up LaTeX
uses: dante-ev/latex-action@latest
with:
packages: |
latexmk
l3build
xkeyval
etoolbox
filehook
uses: actions/checkout@v4

- name: Run LaTeX INS file
run: latex cmftbl.ins

- name: Build PDF from DTX
run: latexmk -pdf cmftbl.dtx

- name: List files
run: ls -l

- name: Create ZIP archive for CTAN
run: |
mkdir package
cp cmftbl.dtx package/
cp cmftbl.ins package/
cp cmftbl.pdf package/
cd package
zip ../cmftbl.zip *
mkdir ctan-upload
cp cmftbl.dtx ctan-upload/
cp cmftbl.ins ctan-upload/
cp cmftbl.pdf ctan-upload/
cd ctan-upload
zip ../cmftbl-ctan.zip *
- name: Upload ZIP file
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ctan-upload
path: cmftbl.zip

0 comments on commit 80884bd

Please sign in to comment.