Skip to content

Commit

Permalink
ci: Compile
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Sep 8, 2023
1 parent 43a5156 commit 3fe8096
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
paths:
- '*.typ'
pull_request:
paths:
- '*.typ'
workflow_dispatch:

jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: yusancky/setup-typst@v2
with:
version: latest
- name: Compile
run: |
typst compile physica-manual.typ
typst compile demo.typ
- uses: actions/upload-artifact@v3
with:
name: PDF
path: '*.pdf'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The physica module (for physics)

[![🚀 Release](https://github.com/Leedehai/typst-physics/actions/workflows/release.yml/badge.svg)](https://github.com/Leedehai/typst-physics/actions/workflows/release.yml)
[![CI](https://github.com/Leedehai/typst-physics/actions/workflows/ci.yml/badge.svg)](https://github.com/Leedehai/typst-physics/actions/workflows/ci.yml)
[![Latest release date](https://img.shields.io/github/release-date/Leedehai/typst-physics)][latest-release]

Current semantic version: `0.7`. [Manual][latest-manual].
Expand Down

0 comments on commit 3fe8096

Please sign in to comment.