File tree Expand file tree Collapse file tree 2 files changed +13
-29
lines changed Expand file tree Collapse file tree 2 files changed +13
-29
lines changed Original file line number Diff line number Diff line change 5252 ./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar build ./ mysql2jsonl
5353 - uses : actions/upload-artifact@v4
5454 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:
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 }}
You can’t perform that action at this time.
0 commit comments