Skip to content

Commit 56cff9d

Browse files
authored
fix(supported-version): matrix innaccessible outside of repo (#8)
1 parent fb1ac5f commit 56cff9d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/_internal-integration.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ on:
88
- "_test/demo-package/**"
99
- ".github/workflows/_internal-integration.yaml"
1010
- ".github/workflows/integration.yaml"
11+
- "supported-version/**"
1112
pull_request:
1213
branches:
1314
- main
1415
paths:
1516
- "_test/demo-package/**"
1617
- ".github/workflows/_internal-integration.yaml"
1718
- ".github/workflows/integration.yaml"
19+
- "supported-version/**"
1820

1921
jobs:
2022
compute_matrix:

supported-version/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: 'composite'
1212
steps:
1313
- run: |
14-
content=`cat supported-version/supported.json | jq -c`
14+
content=`cat ${{ github.action_path }}/supported.json | jq -c`
1515
echo "::set-output name=matrix::$content"
1616
shell: bash
1717
id: generate

0 commit comments

Comments
 (0)