File tree Expand file tree Collapse file tree 3 files changed +19
-28
lines changed Expand file tree Collapse file tree 3 files changed +19
-28
lines changed Original file line number Diff line number Diff line change 5050 run : |
5151 chmod +x ./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar
5252 ./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar build ./ mysql2jsonl
53-
54-
55-
56-
53+ - uses : actions/upload-artifact@v4
54+ with :
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:
1919 needs : verify-release
2020 runs-on : ubuntu-24.04
2121 outputs :
22- release_created : ${{ steps.release.outputs.release_created }}
22+ release_created : ${{ steps.release.outputs.releases_created }}
2323 tag : ${{ steps.release.outputs.tag_name }}
2424 steps :
2525 - uses : googleapis/release-please-action@v4
2626 id : release
2727 with :
2828 release-type : php
2929 upload_phar :
30- needs : release-please
30+ needs :
31+ - release-please
32+ - verify-release
3133 runs-on : ubuntu-24.04
32- if : ${{ needs.release-please.outputs.release_created == true }}
34+ if : ${{ needs.release-please.outputs.release_created }}
3335 steps :
34- - uses : actions/checkout@v4
36+ - name : Download release artifact
37+ uses : actions/download-artifact@v4
3538 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
5243 env :
5344 GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 77 "bump-patch-for-minor-pre-major" : false ,
88 "draft" : false ,
99 "include-v-in-tag" : false ,
10- "prerelease" : false ,
11- "extra-files" : [
12- " bin/mysql2jsonl"
13- ]
10+ "prerelease" : false
1411 }
1512 },
13+ "extra-files" : [
14+ " bin/mysql2jsonl"
15+ ],
1616 "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
1717}
You can’t perform that action at this time.
0 commit comments