From ab344faf3302aa434f9c21ac7f2af4a3e135d070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20C=C3=A2ncio?= Date: Sun, 26 Nov 2023 20:18:55 -0300 Subject: [PATCH] Update latex_release.yml --- .github/workflows/latex_release.yml | 34 ++++++++++++----------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/.github/workflows/latex_release.yml b/.github/workflows/latex_release.yml index e0aaa57..97791f4 100644 --- a/.github/workflows/latex_release.yml +++ b/.github/workflows/latex_release.yml @@ -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