File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 5050 tox_packages_factors : >-
5151 ["standard"]
5252 docker_push_repository : ghcr.io/${{ github.repository }}/
53+ logs_artifact : false
5354
5455 # All platforms. This duplicates the default platform, but why not,
5556 # it makes it more robust regarding random timeouts.
Original file line number Diff line number Diff line change 8585 description : ' Elapsed time (seconds) at which to kill the build'
8686 default : 20000
8787 type : number
88+ logs_artifact :
89+ default : true
90+ type : boolean
8891 #
8992 # Publishing to GitHub Packages
9093 #
@@ -260,11 +263,12 @@ jobs:
260263 cp -r .tox/$TOX_ENV/* "artifacts/$LOGS_ARTIFACT_NAME"
261264 rm -rf "artifacts/$LOGS_ARTIFACT_NAME"/{bin,lib,pyvenv.cfg}
262265 if : always()
263- - uses : actions/upload-artifact@v4
266+ - name : Upload logs artifact
267+ uses : actions/upload-artifact@v4
264268 with :
265269 path : artifacts
266270 name : ${{ env.LOGS_ARTIFACT_NAME }}
267- if : always()
271+ if : always() && inputs.logs_artifact
268272 - name : Print out logs for immediate inspection
269273 # and markup the output with GitHub Actions logging commands
270274 run : |
You can’t perform that action at this time.
0 commit comments