Skip to content

Allow the action to create a release (#10) #2

Allow the action to create a release (#10)

Allow the action to create a release (#10) #2

Workflow file for this run

name: 🚀 Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: yusancky/setup-typst@v2
with:
version: latest
- name: Compile the manual
run: typst compile physica-manual.typ
- name: Release
id: release
uses: softprops/action-gh-release@v1
with:
name: Physica ${{ github.ref_name }}
files: physica-manual.pdf
fail_on_unmatched_files: true
- name: Generate the job summary
run: echo '🎉 [Release for ${{ github.ref_name }}](${{ steps.release.outputs.url }}) is ready.' >> $GITHUB_STEP_SUMMARY