diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f91d0ee5..c514c24d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,9 +37,7 @@ jobs: make -k -j 48 - name: Archive if: ${{ failure() }} - run: | - export ARCHIVE_DIR="/tmp/github_runner_fail_${{ github.run_id }}_${{ github.run_attempt }}" - mkdir -p $ARCHIVE_DIR - cp -r ${{ github.workspace }}/compiler/tests/results/* $ARCHIVE_DIR - chmod -R 777 $ARCHIVE_DIR - echo "Files of this run are located in $ARCHIVE_DIR" + uses: actions/upload-artifact@v2 + with: + name: Regress Archives + path: ${{ github.workspace }}/compiler/tests/results/*