Skip to content

ci: Delete intermediary artifact to encourage correct package #91

ci: Delete intermediary artifact to encourage correct package

ci: Delete intermediary artifact to encourage correct package #91

Workflow file for this run

name: ⚙️ CI
on:
push:
branches:
- "main"
- "release/**"
paths-ignore:
- "*.md"
pull_request:
paths-ignore:
- "*.md"
# Cancel in-progress runs on PR update and on push.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-extension:
name: 🔌 Build GDExtension
uses: ./.github/workflows/build_gdextension.yml
unit-tests:
name: 🧪 Unit tests
needs: build-extension
uses: ./.github/workflows/unit_tests.yml
package:
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