-
Notifications
You must be signed in to change notification settings - Fork 16
43 lines (37 loc) · 1.17 KB
/
ci.yml
File metadata and controls
43 lines (37 loc) · 1.17 KB
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
34
35
36
37
38
39
40
41
42
43
name: CI
on:
- push
- pull_request
jobs:
texlive:
name: TeXLive (Ubuntu)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: sudo apt install --assume-yes --no-install-recommends ghostscript imagemagick lmodern netpbm tex4ht texlive-fonts-recommended texlive-lang-french texlive-latex-base texlive-latex-extra texlive-luatex tidy
- name: Typeset
run: make dist
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
path: |
pdf/**/*.pdf
html/*.zip
- name: Package (Launchpad)
if: github.event_name == 'push'
id: package-launchpad
uses: ./.github/actions/package-launchpad
with:
DEB_PASSPHRASE: ${{ secrets.DEB_PASSPHRASE }}
DECRYPTION_KEY: ${{ secrets.DECRYPTION_KEY }}
- name: Deploy (Launchpad)
if: github.event_name == 'push'
uses: ./.github/actions/deploy-launchpad
with:
changes_files: ${{ steps.package-launchpad.outputs.changes_files }}
devel-repo: "ppa:texworks/ppa"
stable-repo: "ppa:texworks/stable"