Skip to content

maybe with static... #20

maybe with static...

maybe with static... #20

Workflow file for this run

name: Build Typst Document
on: [push, workflow_dispatch]
permissions:
contents: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: typst-community/setup-typst@v3
# - run: sudo apt-get install fonts-cascadia-code
- run: |
curl -LO https://github.com/microsoft/cascadia-code/releases/download/v2404.23/CascadiaCode-2404.23.zip
unzip CascadiaCode-2404.23.zip -d ~/cascadia-code
cp ~/cascadia-code/otf/static/*.otf /usr/local/share/fonts
sudo fc-cache -f -v
# mkdir ~/.local/share/fonts/
# ~/.local/share/fonts/
- run: typst compile java-swing-mvc.typ java-swing-mvc.pdf
- run: typst compile git.typ git.pdf
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }} — ${{ env.DATE }}"
files: |
java-swing-mvc.pdf
git.pdf
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: 'latest'
prerelease: false
files: |
java-swing-mvc.pdf
git.pdf
- uses: dev-drprasad/[email protected]
with:
keep_latest: 1
delete_tags: true
delete_tag_pattern: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}