Skip to content

Update workflow

Update workflow #18

Workflow file for this run

name: Compile and Release Resume
on:
push:
tags:
- "**"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compile PDF with Typst
uses: lvignoli/typst-action@main
with:
source_file: |
src/main.typ
options: |
compile
--font-path
src/resources/fonts
- name: Upload PDF
uses: actions/upload-artifact@v3
with:
name: PDF
path: "**/*.pdf"
- name: Get Current Date
id: date
run: echo "DATE=$(date +%Y-%m-%d-%H:%M)" >> $GITHUB_ENV
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag'
with:
name: "${{ github.ref_name }} - ${{ env.DATE }}"
files: src/main.pdf