Skip to content

Commit

Permalink
fix tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Jan 4, 2024
1 parent d823f1f commit 0050a33
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
flags: integration_tests
- name: Tar debug files
if: failure()
run: tar cfz debug_files.tar.gz -C "$TMPDIR/pytest-of-runner" .
run: tar cfz debug_files.tar.gz -C "${TMPDIR-/tmp}/pytest-of-runner" .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
flags: integration_tests_upgrade
- name: Tar debug files
if: failure()
run: tar cfz debug_files_upgrade.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_upgrade.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
flags: integration_tests_ledger
- name: Tar debug files
if: failure()
run: tar cfz debug_files_ledger.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_ledger.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
flags: integration_tests_solomachine
- name: Tar debug files
if: failure()
run: tar cfz debug_files_solomachine.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_solomachine.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
flags: integration_tests_slow
- name: Tar debug files
if: failure()
run: tar cfz debug_files_slow.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_slow.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
flags: integration_tests_ibc
- name: Tar debug files
if: failure()
run: tar cfz debug_files_ibc.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_ibc.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -318,7 +318,7 @@ jobs:
flags: integration_tests_byzantine
- name: Tar debug files
if: failure()
run: tar cfz debug_files_byzantine.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_byzantine.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
flags: integration_tests_gov
- name: Tar debug files
if: failure()
run: tar cfz debug_files_gov.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_gov.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down Expand Up @@ -395,7 +395,7 @@ jobs:
flags: integration_tests_grpc
- name: Tar debug files
if: failure()
run: tar cfz debug_files_grpc.tar.gz -C $TMPDIR/pytest-of-runner .
run: tar cfz debug_files_grpc.tar.gz -C ${TMPDIR-/tmp}/pytest-of-runner .
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down

0 comments on commit 0050a33

Please sign in to comment.