mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 10:20:08 +00:00
40 lines
755 B
YAML
40 lines
755 B
YAML
name: Makefile CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: xu-cheng/texlive-action/full@v1
|
|
|
|
- name: Make manual
|
|
run: make -n dist
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v1
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
files: dist/photobook*.zip
|
|
|
|
- name: Build artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: build artifacts
|
|
path: photobook.pdf
|
|
|
|
- name: Dist artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: build artifacts
|
|
path: dist/photobook*.zip
|
|
|
|
|