mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-13 05:04:54 +00:00
fix(supported-version): matrix innaccessible outside of repo (#8)
This commit is contained in:
@@ -8,6 +8,7 @@ on:
|
|||||||
- "_test/demo-package/**"
|
- "_test/demo-package/**"
|
||||||
- ".github/workflows/_internal-integration.yaml"
|
- ".github/workflows/_internal-integration.yaml"
|
||||||
- ".github/workflows/integration.yaml"
|
- ".github/workflows/integration.yaml"
|
||||||
|
- "supported-version/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -15,6 +16,7 @@ on:
|
|||||||
- "_test/demo-package/**"
|
- "_test/demo-package/**"
|
||||||
- ".github/workflows/_internal-integration.yaml"
|
- ".github/workflows/_internal-integration.yaml"
|
||||||
- ".github/workflows/integration.yaml"
|
- ".github/workflows/integration.yaml"
|
||||||
|
- "supported-version/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
compute_matrix:
|
compute_matrix:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ runs:
|
|||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
content=`cat supported-version/supported.json | jq -c`
|
content=`cat ${{ github.action_path }}/supported.json | jq -c`
|
||||||
echo "::set-output name=matrix::$content"
|
echo "::set-output name=matrix::$content"
|
||||||
shell: bash
|
shell: bash
|
||||||
id: generate
|
id: generate
|
||||||
|
|||||||
Reference in New Issue
Block a user