From 89499f6bf1273943ff20105e27304e0ab59a3139 Mon Sep 17 00:00:00 2001 From: iwishiwasaneagle Date: Tue, 23 Jan 2024 08:51:29 +0000 Subject: [PATCH] fix: main -> release --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4a5a3a..be7bd87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,22 +90,22 @@ jobs: - uses: xu-cheng/latex-action@v3 name: "Compile document 1/2" with: - root_file: main.tex + root_file: release.tex args: -synctex=1 -interaction=nonstopmode -file-line-error -pdf - uses: xu-cheng/latex-action@v3 name: "Compile document 2/2" with: - root_file: main.tex + root_file: progress.tex args: -synctex=1 -interaction=nonstopmode -file-line-error -pdf - pre_compile: "bibtex main; makeindex main.nlo -s nomencl.ist -o main.nls" + pre_compile: "bibtex release" post_compile: "latexmk -c" - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: main-pdf-release - path: ./main.pdf + name: release-pdf-release + path: ./release.pdf publish-github: name: Publish on GitHub @@ -122,8 +122,8 @@ jobs: id: download uses: actions/download-artifact@v4 with: - name: main-pdf-release - path: main-pdf-release + name: release-pdf-release + path: release-pdf-release - name: Upload the release if: ${{ !env.ACT }} @@ -131,7 +131,7 @@ jobs: with: repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ needs.create-tag.outputs.tag }} - file: ${{steps.download.outputs.download-path}}/main.pdf + file: ${{steps.download.outputs.download-path}}/release.pdf asset_name: $tag.pdf release_name: "${{ needs.create-tag.outputs.tag }}" body: "${{ needs.setup-envs.outputs.release_body }}"