upload screenshot if action failed

This commit is contained in:
Thephaseless 2024-10-18 13:56:14 +00:00
parent 7df0bb55db
commit aa9cf29755

View File

@ -88,6 +88,13 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Upload error logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: error-screenshots
path: ./errors
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish