diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96d29be..9deb1c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Git repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile basic LaTeX document uses: ./ with: @@ -144,7 +144,7 @@ jobs: file test/abc.pdf | grep -q ' PDF ' file test/not_error.pdf | grep -q ' PDF ' - name: Upload - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test path: test diff --git a/README.md b/README.md index 2c66e47..3f88ea6 100644 --- a/README.md +++ b/README.md @@ -111,13 +111,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Git repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Compile LaTeX document uses: xu-cheng/latex-action@v3 with: root_file: main.tex - name: Upload PDF file - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: PDF path: main.pdf @@ -162,7 +162,7 @@ The PDF file will be in the same folder as that of the LaTeX source in the CI en * You can use [`@actions/upload-artifact`](https://github.com/actions/upload-artifact) to upload a zip containing the PDF file to the workflow tab. For example you can add ```yaml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: PDF path: main.pdf