From 123de2d9fadae157e2a766b4b55ac7610b65fb56 Mon Sep 17 00:00:00 2001 From: 45gfg9 <45gfg9@45gfg9.net> Date: Sat, 3 Feb 2024 16:36:55 +0800 Subject: [PATCH] CI: update GitHub Actions --- .github/workflows/tex.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tex.yml b/.github/workflows/tex.yml index 2a89f65..e568852 100644 --- a/.github/workflows/tex.yml +++ b/.github/workflows/tex.yml @@ -15,24 +15,23 @@ jobs: build: name: Build document runs-on: ubuntu-latest - # container: mfisherman/texlive-full:latest + container: + image: registry.gitlab.com/islandoftex/images/texlive:latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build id: build working-directory: ${{ github.workspace }} run: | - sudo apt-get update - sudo apt-get install -y texlive-full make xindy - sudo git config --system --add safe.directory $(pwd -P) + git config --system --add safe.directory $(pwd -P) echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT make gh-actions - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: LALU-build-${{ github.run_number }}-${{ steps.build.outputs.sha }} if-no-files-found: error