From b2580684b571d23fa019982420b7a7631613ba5b Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Sat, 21 Dec 2024 15:09:27 +0100 Subject: [PATCH] ci: Delete intermediary artifact to encourage correct package This is needed to encourage using the corrected artifact, and because `sentry-godot-gdextension` artifact lacks executable permissions, see https://github.com/getsentry/sentry-godot/issues/41 --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f702961..9c3d068 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,3 +31,16 @@ jobs: name: 📦 Package needs: build-extension uses: ./.github/workflows/package.yml + + # Deleting "sentry-godot-gdextension" artifact due to broken file permissions. + # This encourages using the artifact from the "package" job instead which has correct permissions. + # See issue: https://github.com/getsentry/sentry-godot/issues/41 + cleanup: + name: 🗑️ Cleanup + needs: [package, unit-tests] + runs-on: ubuntu-latest + steps: + - name: Delete sentry-godot-gdextension artifact + uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5.1.0 + with: + name: sentry-godot-gdextension