build: retain final package when artifact upload fails
This commit is contained in:
@@ -69,9 +69,11 @@ jobs:
|
||||
path: ${{ runner.temp }}/strata-package-${{ github.run_id }}/
|
||||
if-no-files-found: error
|
||||
retention-days: 7
|
||||
- name: Remove uploaded package copy
|
||||
run: rm -rf -- "${RUNNER_TEMP}/strata-package-${GITHUB_RUN_ID}"
|
||||
- name: Remove private build intermediates
|
||||
if: always()
|
||||
run: rm -rf -- "${RUNNER_TEMP}/strata-static-cuda-${GITHUB_RUN_ID}" "${RUNNER_TEMP}/strata-package-build-${GITHUB_RUN_ID}" "${RUNNER_TEMP}/strata-package-${GITHUB_RUN_ID}"
|
||||
run: rm -rf -- "${RUNNER_TEMP}/strata-static-cuda-${GITHUB_RUN_ID}" "${RUNNER_TEMP}/strata-package-build-${GITHUB_RUN_ID}"
|
||||
|
||||
linux-static-cli:
|
||||
needs: verify
|
||||
|
||||
Reference in New Issue
Block a user