Skip to content

Commit c439c17

Browse files
authored
Improve supported version file management (#111)
1 parent ffd5a7c commit c439c17

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,25 @@ jobs:
2424
symfony-max: ${{ steps.fetch-symfony-versions.outputs.max }}
2525
symfony-next: ${{ steps.fetch-symfony-versions.outputs.next }}
2626
steps:
27+
- name: Fetch supported versions file
28+
id: fetch-file
29+
uses: yoanm/gha-supported-versions-parser/github-downloader@v1
30+
with:
31+
file-path: .github/workflows/supported-versions.json
32+
2733
- name: Fetch PHP supported versions
2834
id: fetch-php-versions
29-
uses: yoanm/gha-supported-versions-parser@feature/init
35+
uses: yoanm/gha-supported-versions-parser@v1
3036
with:
37+
path: ${{ steps.fetch-file.outputs.path }}
3138
dependency: php
32-
path: .github/workflows/supported-versions.json
3339

3440
- name: Fetch Symfony supported versions
3541
id: fetch-symfony-versions
36-
uses: yoanm/gha-supported-versions-parser@feature/init
42+
uses: yoanm/gha-supported-versions-parser@v1
3743
with:
44+
path: ${{ steps.fetch-file.outputs.path }}
3845
dependency: symfony
39-
path: .github/workflows/supported-versions.json
4046

4147
tests:
4248
name: ${{ matrix.job-name }}

0 commit comments

Comments
 (0)