Skip to content

Remove unnecessary env var, it's been fixed in v6.4.1 (https://github… #981

Remove unnecessary env var, it's been fixed in v6.4.1 (https://github…

Remove unnecessary env var, it's been fixed in v6.4.1 (https://github… #981

Workflow file for this run

name: "CI"
on:
push
concurrency:
# See https://github.com/TWiStErRob/github-workflows/blob/main/snippets/cancel-pr-ci-on-push.yml
group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-{0}', github.ref) }}
cancel-in-progress: true
jobs:
validate:
name: "🦺 Validation"
uses: TWiStErRob/github-workflows/.github/workflows/validate.yml@v1
build:
name: "🔨 Build & Verify"
uses: ./.github/workflows/CI-build.yml
needs:
- validate
prepare:
name: "Prepare"
uses: ./.github/workflows/CI-pr.yml
# Don't execute on main, it'll never be PR'd.
if: github.ref != 'refs/heads/main' && (success() || failure())
screenshot:
name: "📷 Screenshot Tests"
uses: ./.github/workflows/CI-screenshot.yml
with:
base_ref: ${{ needs.prepare.outputs.base_ref }}
head_ref: ${{ needs.prepare.outputs.head_ref }}
needs:
- validate
- prepare
# Don't execute on main, as it'll just verify against itself.
if: github.ref != 'refs/heads/main' && needs.prepare.outputs.found == 'true'