Skip to content

add release workflow #7

add release workflow

add release workflow #7

Workflow file for this run

name: Build Typst document
on: push
jobs:
build_typst_documents:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Typst
uses: lvignoli/typst-action@main
with:
source_file: main.typ
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: *.pdf

Check failure on line 19 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }}"
files: main.pdf