upload screenshot if action failed

This commit is contained in:
ThePhaseless
2024-10-18 15:53:36 +00:00
parent 2e819c9adf
commit b7f9c1467c
+7
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