fix(supported-version): matrix innaccessible outside of repo (#8)

This commit is contained in:
Damien Retzinger
2022-06-26 13:25:38 -04:00
committed by GitHub
parent fb1ac5f41a
commit 56cff9de0b
2 changed files with 3 additions and 1 deletions
@@ -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:
+1 -1
View File
@@ -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