diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 7eccad2..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Build Typst document -on: - push: - tags: - - "v*.*.*" - -permissions: - contents: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v4 - - - name: Typst - uses: lvignoli/typst-action@main - with: - source_file: template/main.typ - - - name: Rename main.pdf - run: mv template/main.pdf Thesis.pdf - - - name: Upload PDF file - uses: actions/upload-artifact@v4 - with: - name: PDF - path: Thesis.pdf - - - name: Release - uses: softprops/action-gh-release@v1 - if: github.ref_type == 'tag' - with: - name: "${{ github.ref_name }}" - files: Thesis.pdf