File tree 2 files changed +13
-29
lines changed
2 files changed +13
-29
lines changed Original file line number Diff line number Diff line change 52
52
./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar build ./ mysql2jsonl
53
53
- uses : actions/upload-artifact@v4
54
54
with :
55
- name : ${{ env.GITHUB_REF }}
56
- path : mysql2json
57
- - name : Generate output
58
- id : output
59
- run : |
60
- echo "artifact=${GITHUB_REF}" >> "$GITHUB_OUTPUT"
61
-
62
-
63
-
55
+ name : build-${{ github.ref }}-${{ matrix.php-version }}
56
+ path : mysql2jsonl
Original file line number Diff line number Diff line change @@ -19,35 +19,26 @@ jobs:
19
19
needs : verify-release
20
20
runs-on : ubuntu-24.04
21
21
outputs :
22
- release_created : ${{ steps.release.outputs.release_created }}
22
+ release_created : ${{ steps.release.outputs.releases_created }}
23
23
tag : ${{ steps.release.outputs.tag_name }}
24
24
steps :
25
25
- uses : googleapis/release-please-action@v4
26
26
id : release
27
27
with :
28
28
release-type : php
29
29
upload_phar :
30
- needs : release-please
30
+ needs :
31
+ - release-please
32
+ - verify-release
31
33
runs-on : ubuntu-24.04
32
- if : ${{ needs.release-please.outputs.release_created == true }}
34
+ if : ${{ needs.release-please.outputs.release_created }}
33
35
steps :
34
- - uses : actions/checkout@v4
36
+ - name : Download release artifact
37
+ uses : actions/download-artifact@v4
35
38
with :
36
- ref : ${{ needs.release-please.outputs.tag }}
37
- - name : Setup PHP
38
- uses : shivammathur/setup-php@v2
39
- with :
40
- php-version : 8.2
41
- tools : composer:v2
42
- - name : Download build package
43
- run : gh release download v${{ env.PHAR_TOOL_VERSION }} -R=${{ env.PHAR_TOOL_REPOSITORY }}
44
- - name : Build package
45
- run : |
46
- chmod +x ./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar
47
- ./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar build ./ mysql2json
48
- env :
49
- GH_TOKEN : ${{ github.token }}
50
- - name : Upload package
51
- run : gh release upload ${{ needs.release-please.outputs.tag }} mysql2json
39
+ name : build-${{ github.ref }}-8.3
40
+ path : mysql2jsonl
41
+ - name : Release artifact
42
+ run : gh release upload ${{ needs.release-please.outputs.tag }} mysql2jsonl
52
43
env :
53
44
GH_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments