Skip to content

Commit 39b1e5b

Browse files
committed
Switch from Travis CI to GitHub Actions
1 parent c62109a commit 39b1e5b

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.github/workflows/build-pdfs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build PDFs with hometasks
2+
on: [push]
3+
jobs:
4+
Build-PDFs:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- run: sudo apt-get update
8+
- run: sudo apt-get install -y --no-install-recommends texlive-full pandoc zip python-pygments dot2tex
9+
- name: Clone the repository
10+
uses: actions/checkout@v3
11+
- run: make pdf || true
12+
- run: zip -r pdfs.zip build/
13+
- name: Release latest archive on GitHub
14+
uses: "marvinpinto/action-automatic-releases@latest"
15+
with:
16+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
17+
automatic_release_tag: "latest"
18+
prerelease: true
19+
title: "Latest build"
20+
files: pdfs.zip

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)