From ffefe6d73c51cd3e72acc8baeddaecbf37cccc0d Mon Sep 17 00:00:00 2001 From: 262882 <2628829@students.wits.ac.za> Date: Wed, 6 Mar 2024 19:18:49 +0000 Subject: [PATCH] Optimise --- .github/workflows/github-actions.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index fc069304..727414ac 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -4,14 +4,13 @@ jobs: Build_Release: runs-on: ubuntu-latest steps: - - name: Fetch dependancies - run: docker pull ghcr.io/xu-cheng/texlive-full:latest - name: Check out repository code uses: actions/checkout@v4 - name: Build run: | - docker run -v $(pwd):/source ghcr.io/xu-cheng/texlive-full:latest /bin/bash \ - -c "make -C source/${{ github.event.repository.name }}" + docker run ghcr.io/xu-cheng/texlive-full:latest \ + -v ${{ github.event.repository.name }}:/source \ + /bin/bash -c "make -C source/" - name: Store uses: actions/upload-artifact@v4 with: