Skip to content

Commit

Permalink
Update latex_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecancio authored Nov 26, 2023
1 parent 600ced7 commit ab344fa
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/latex_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,21 @@ jobs:
steps:
- name: Set up Git repository
uses: actions/checkout@v3
# - name: Compile LaTeX document
# uses: xu-cheng/latex-action@v2
# with:
# root_file: main.tex
# working_directory: article/
# continue_on_error: true
# - name: Save PDF as Artifact
# uses: actions/upload-artifact@v3
# with:
# name: main
# path: article/main.pdf
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
root_file: main.tex
working_directory: article/
continue_on_error: true
- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
article/main.pdf
# - name: Upload Release Asset
# id: upload-release-asset
# uses: sekwah41/upload-release-assets@v1
Expand Down

0 comments on commit ab344fa

Please sign in to comment.