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