Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
.github/workflows/tox.yml: Use sage-local-artifact/ as path
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 18, 2021
1 parent dd2bc15 commit 2b46f02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
if: contains(matrix.tox_system_factor, 'python3_pythonorg')
- uses: actions/download-artifact@v2
with:
path: sage-local-artifact
name: ${{ env.LOCAL_ARTIFACT_NAME }}
path: ${{ env.GITHUB_WORKSPACE }}
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 $GITHUB_WORKSPACE/sage-local-*.tar
.github/workflows/extract-sage-local.sh sage-local-artifact/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.
Expand Down Expand Up @@ -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 $GITHUB_WORKSPACE/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar $(pwd))
(cd .tox/$TOX_ENV && rm -f "local/lib64" && tar -cf - $(pwd)) > sage-local-artifact/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar
if: contains(matrix.stage, '1')
- uses: actions/upload-artifact@v2
with:
path: ${{ env.GITHUB_WORKSPACE }}/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar
path: sage-local-artifact/sage-${{ env.TOX_ENV }}-${{ matrix.stage }}.tar
name: ${{ env.LOCAL_ARTIFACT_NAME }}
if: always()

0 comments on commit 2b46f02

Please sign in to comment.