From a40d706b69949f82d96f645f92506041b2819346 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 17 Oct 2021 16:59:16 -0700 Subject: [PATCH] .github/workflows/tox.yml: Do not use /tmp for artifacts to avoid https://github.com/actions/upload-artifact/issues/92 --- .github/workflows/tox.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 2a351c1efc9..ce315ae1207 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -69,12 +69,12 @@ jobs: - uses: actions/download-artifact@v2 with: name: ${{ env.LOCAL_ARTIFACT_NAME }} - path: /tmp + path: ${{ env.RUNNER_TEMP }} if: contains(matrix.stage, '2') - name: Extract sage-local artifact # This is macOS tar -- cannot use --listed-incremental run: | - .github/workflows/extract-sage-local.sh /tmp/sage-local-*.tar + .github/workflows/extract-sage-local.sh $RUNNER_TEMP/sage-local-*.tar if: contains(matrix.stage, '2') - name: Build and test with tox # We use a high parallelization on purpose in order to catch possible parallelization bugs in the build scripts. @@ -105,10 +105,10 @@ jobs: # This is macOS tar -- cannot use --remove-files. # We remove the $SAGE_LOCAL/lib64 link, which will be recreated by the next stage. run: | - (cd .tox/$TOX_ENV && rm -f "local/lib64" && tar -cf /tmp/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar $(pwd)) + (cd .tox/$TOX_ENV && rm -f "local/lib64" && tar -cf $RUNNER_TEMP/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar $(pwd)) if: contains(matrix.stage, '1') - uses: actions/upload-artifact@v2 with: - path: /tmp/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar + path: ${{ env.RUNNER_TEMP }}/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar name: ${{ env.LOCAL_ARTIFACT_NAME }} if: always()