Skip to content

fix: poster headline and footer (#169) #20

fix: poster headline and footer (#169)

fix: poster headline and footer (#169) #20

Workflow file for this run

on:
push:
branches:
- release
tags:
- "v*"
name: Release
jobs:
release-xelatex:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: checkout code
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
apk add zip diffutils
tlmgr update --self
tlmgr update l3build
make build-dev
name: build package with XeLaTeX
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/build_all_variants.sh -halt-on-error -time -quiet -xelatex
name: build all variants with XeLaTeX
- uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: .github/ci/gen_cover.sh -halt-on-error -time -quiet -xelatex
name: build cover with XeLaTeX
- run: cat build/*.log
name: display build log
if: ${{ failure() || success() }}
- uses: actions/create-release@latest
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ github.event.head_commit.message }}
draft: true
prerelease: true
- name: add build-maxplus-blue
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/build-maxplus-blue.pdf
asset_name: sjtulib-talk-maxplus-blue.pdf
asset_content_type: application/pdf
- name: add build-maxplus-red
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/build-maxplus-red.pdf
asset_name: sjtulib-talk-maxplus-red.pdf
asset_content_type: application/pdf
- name: add build-max-red
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/build-max-red.pdf
asset_name: sjtulib-talk-max-red.pdf
asset_content_type: application/pdf
- name: add build-min-red
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/build-min-red.pdf
asset_name: sjtulib-talk-min-red.pdf
asset_content_type: application/pdf
- name: add covers
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: build/cover.pdf
asset_name: sample-all-covers.pdf
asset_content_type: application/pdf
- name: add ctan zip
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: src/sjtubeamer-ctan.zip
asset_name: sjtubeamer-ctan.zip
asset_content_type: application/zip
- name: add online zip
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: sjtubeamer-online.zip
asset_name: sjtubeamer-online.zip
asset_content_type: application/zip
- name: add devguide
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: src/build/distrib/ctan/sjtubeamer/sjtubeamerdevguide.pdf
asset_name: sjtubeamerdevguide.pdf
asset_content_type: application/pdf
- name: add intro
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: src/build/distrib/ctan/sjtubeamer/sjtubeamer.pdf
asset_name: sjtubeamer.pdf
asset_content_type: application/pdf
- name: add quickstart
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: src/build/distrib/ctan/sjtubeamer/sjtubeamerquickstart.pdf
asset_name: sjtubeamerquickstart.pdf
asset_content_type: application/pdf