mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
baef64bc0a
Adds an optional `stamp` boolean input on the public check-extension workflow that is forwarded to cache-magento, plus the matching `working-directory`. Internal CI exercises stamp:true.
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: Check Extension Test
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "_test/demo-package/**"
|
|
- ".github/workflows/_internal_check_extension.yaml"
|
|
- ".github/workflows/check-extension.yaml"
|
|
- "supported-version/**"
|
|
- "!(**/*.md)"
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "_test/demo-package/**"
|
|
- ".github/workflows/_internal_check_extension.yaml"
|
|
- ".github/workflows/check-extension.yaml"
|
|
- "supported-version/**"
|
|
- "!(**/*.md)"
|
|
jobs:
|
|
compute_matrix:
|
|
if: "!startsWith(github.head_ref, 'release-please')"
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: ./supported-version
|
|
with:
|
|
kind: currently-supported
|
|
include_services: true
|
|
id: supported-version
|
|
check-workflow:
|
|
needs: compute_matrix
|
|
uses: ./.github/workflows/check-extension.yaml
|
|
with:
|
|
path: _test/demo-package
|
|
matrix: ${{ needs.compute_matrix.outputs.matrix }}
|
|
stamp: true
|