From f4c3789379148bfe2beb7142e78445984732b9f2 Mon Sep 17 00:00:00 2001 From: adin Date: Fri, 30 Aug 2024 10:07:19 +0200 Subject: [PATCH] Update version of actions --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77323e8..5688702 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,14 +12,14 @@ jobs: paper: [fullpaper, abstract] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile PDF run: | latexmk -f -pdf -pdflatex="pdflatex -interaction=nonstopmode --shell-escape %O \"\documentclass[${{ matrix.paper }},${{ matrix.type }}]{nldl}\renewcommand\documentclass[2][]{}\input{%S}\"" -jobname=main main - name: Move run: mv main.pdf ./${{ matrix.paper }}-${{ matrix.type }}.pdf - name: Upload PDF as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.paper }}-${{ matrix.type }} path: ./${{ matrix.paper }}-${{ matrix.type }}.pdf @@ -31,19 +31,19 @@ jobs: image: adnrv/texlive:adntools steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install zip run: apt update -qq && apt install -y zip - name: Zip code run: zip --junk-paths authorkit.zip main.tex nldl.cls references.bib - name: Download PDFs - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Zip the PDFs run: zip --junk-paths templates.zip fullpaper-review/fullpaper-review.pdf fullpaper-final/fullpaper-final.pdf abstract-review/abstract-review.pdf abstract-final/abstract-final.pdf - name: Move PDFs run: mv fullpaper-review/fullpaper-review.pdf fullpaper-instructions.pdf - name: Release code - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: |