File tree 3 files changed +19
-28
lines changed
3 files changed +19
-28
lines changed Original file line number Diff line number Diff line change 50
50
run : |
51
51
chmod +x ./phar-composer-${{ env.PHAR_TOOL_VERSION }}.phar
52
52
./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.sha }}-${{ 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.sha }}-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 }}
Original file line number Diff line number Diff line change 7
7
"bump-patch-for-minor-pre-major" : false ,
8
8
"draft" : false ,
9
9
"include-v-in-tag" : false ,
10
- "prerelease" : false ,
11
- "extra-files" : [
12
- " bin/mysql2jsonl"
13
- ]
10
+ "prerelease" : false
14
11
}
15
12
},
13
+ "extra-files" : [
14
+ " bin/mysql2jsonl"
15
+ ],
16
16
"$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
17
17
}
You can’t perform that action at this time.
0 commit comments