Skip to content

Commit 70162b6

Browse files
committed
env
1 parent cff08d1 commit 70162b6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,17 @@ jobs:
9696
runs-on: ubuntu-20.04
9797
timeout-minutes: 10
9898
needs: setup
99+
env:
100+
matrix: ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX) }}
99101
steps:
100102
- uses: actions/checkout@v2
101103

102104
- name: Cache bundled specs
103105
id: cache
104106
uses: actions/cache@v3
105107
with:
106-
key: ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX).cacheKey }}
107-
path: ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX).bundledPath }}
108+
key: ${{ matrix.cacheKey }}
109+
path: ${{ matrix.bundledPath }}
108110

109111
- name: Setup
110112
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
@@ -114,14 +116,14 @@ jobs:
114116

115117
- name: Building specs
116118
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
117-
run: yarn cli build specs ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX).toRun }}
119+
run: yarn cli build specs ${{ matrix.toRun }}
118120

119121
- name: Store bundled specs
120122
uses: actions/upload-artifact@v3
121123
with:
122124
if-no-files-found: error
123125
name: specs
124-
path: ${{ fromJSON(needs.setup.outputs.SPECS_MATRIX).bundledPath }}
126+
path: ${{ matrix.bundledPath }}
125127

126128
client_javascript_utils:
127129
timeout-minutes: 10

0 commit comments

Comments
 (0)