File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -228,6 +228,26 @@ jobs:
228228 (cd ./deployment/gcp-oidc-deployment-files-${{ needs.start.outputs.new_version }} && zip -r ../../gcp-oidc-deployment-files-${{ needs.start.outputs.new_version }}.zip . )
229229 (cd manifests && zip -r ../uid2-operator-release-manifests-${{ needs.start.outputs.new_version }}.zip .)
230230
231+ # debug 🧪
232+ - name : 🧪 List local zip files before upload
233+ run : |
234+ echo "Workspace content:"
235+ ls -lh *.zip
236+
237+ - name : 🧪 Show zip contents
238+ run : |
239+ for f in *.zip; do
240+ echo "--- $f contents ---"
241+ unzip -l "$f"
242+ done
243+
244+ - name : 🧪 List existing GitHub release assets before upload
245+ env :
246+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
247+ run : |
248+ echo "Existing assets on v${{ needs.start.outputs.new_version }}:"
249+ gh release view v${{ needs.start.outputs.new_version }} --json assets --jq '.assets[].name'
250+
231251 - name : Create draft release
232252 uses : softprops/action-gh-release@v2
233253 with :
@@ -242,6 +262,14 @@ jobs:
242262 ./azure-aks-deployment-files-${{ needs.start.outputs.new_version }}.zip
243263 ./gcp-oidc-deployment-files-${{ needs.start.outputs.new_version }}.zip
244264 ./uid2-operator-release-manifests-${{ needs.start.outputs.new_version }}.zip
265+
266+ - name : 🧪 Confirm uploaded assets on release
267+ env :
268+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
269+ run : |
270+ echo "Assets on release after upload:"
271+ gh release view v${{ needs.start.outputs.new_version }} --json assets --jq '.assets[].name'
272+
245273 notifyFailure :
246274 name : Notify Slack on Failure
247275 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments