diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7778a78ac..75f4976d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -456,12 +456,16 @@ jobs: fuzz-seconds: 300 dry-run: false language: go + - name: Set artifacts_path in env (workaround for actions/upload-artifact#176) + if: steps.run.outcome != 'success' && steps.build.outcome == 'success' + run: | + echo "artifacts_path=$(realpath .)" >> $GITHUB_ENV - name: upload crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 if: steps.run.outcome != 'success' && steps.build.outcome == 'success' with: name: artifacts - path: ./out/artifacts + path: ${{ env.artifacts_path }}/out/artifacts depaware: runs-on: ubuntu-22.04