11name : Build 
22
3- on : [push] 
3+ on :
4+   push :
5+     tags :
6+       - ' v*.*.*' 
47
58env :
69  EXTENSION_NAME : php_rocksdb_rc 
@@ -16,33 +19,34 @@ jobs:
1619    strategy :
1720      matrix :
1821        include :
19- #           -
20- #             target: x86_64-unknown-linux-gnu
21- #             platform: linux/amd64
22- #             php-version: '8.0'
23- #           -
24- #             os: ubuntu-latest
25- #             target: aarch64-unknown-linux-gnu
26- #             platform: linux/arm64
27- #             php-version: '8.0'
28- #           -
29- #             target: x86_64-unknown-linux-gnu
30- #             platform: linux/amd64
31- #             php-version: '8.1'
32-           -
33-             os : ubuntu-latest 
22+           - target : x86_64-unknown-linux-gnu 
23+             platform : linux/amd64 
24+             php-version : ' 8.0' 
25+           - os : ubuntu-latest 
3426            target : aarch64-unknown-linux-gnu 
3527            platform : linux/arm64 
28+             php-version : ' 8.0' 
29+           - target : x86_64-unknown-linux-gnu 
30+             platform : linux/amd64 
3631            php-version : ' 8.1' 
37- #           -
38- #             target: x86_64-unknown-linux-gnu
39- #             platform: linux/amd64
40- #             php-version: '8.2'
41- #           -
42- #             os: ubuntu-latest
43- #             target: aarch64-unknown-linux-gnu
44- #             platform: linux/arm64
45- #             php-version: '8.2'
32+           - os : ubuntu-latest 
33+             target : aarch64-unknown-linux-gnu 
34+             platform : linux/arm64 
35+             php-version : ' 8.1' 
36+           - target : x86_64-unknown-linux-gnu 
37+             platform : linux/amd64 
38+             php-version : ' 8.2' 
39+           - os : ubuntu-latest 
40+             target : aarch64-unknown-linux-gnu 
41+             platform : linux/arm64 
42+             php-version : ' 8.2' 
43+           - target : x86_64-unknown-linux-gnu 
44+             platform : linux/amd64 
45+             php-version : ' 8.3' 
46+           - os : ubuntu-latest 
47+             target : aarch64-unknown-linux-gnu 
48+             platform : linux/arm64 
49+             php-version : ' 8.3' 
4650    steps :
4751      - name : Checkout 
4852        uses : actions/checkout@v2 
@@ -87,12 +91,11 @@ jobs:
8791        with :
8892          name : php${{ matrix.php-version }}-${{ matrix.target }} 
8993          path : php${{ matrix.php-version }}-${{ matrix.target }}-${{ env.EXTENSION_NAME }}.so 
94+ 
9095      - name : Release 
9196        uses : softprops/action-gh-release@v1 
92-         if : startsWith(github.ref, 'refs/tags/') 
9397        with :
94-           files : | 
95-             php${{ matrix.php-version }}-${{ matrix.target }}-${{ env.EXTENSION_NAME }}.so 
98+           files : php${{ matrix.php-version }}-${{ matrix.target }}-${{ env.EXTENSION_NAME }}.so 
9699        env :
97100          GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} 
98101
@@ -101,24 +104,22 @@ jobs:
101104#     strategy:
102105#       matrix:
103106#         include:
104- #           -
105- #             target: aarch64-apple-darwin
107+ #           - target: aarch64-apple-darwin
106108#             php-version: '8.0'
107- #           -
108- #             target: x86_64-apple-darwin
109+ #           - target: x86_64-apple-darwin
109110#             php-version: '8.0'
110- #           -
111- #             target: aarch64-apple-darwin
111+ #           - target: aarch64-apple-darwin
112112#             php-version: '8.1'
113- #           -
114- #             target: x86_64-apple-darwin
113+ #           - target: x86_64-apple-darwin
115114#             php-version: '8.1'
116- #           -
117- #             target: aarch64-apple-darwin
115+ #           - target: aarch64-apple-darwin
118116#             php-version: '8.2'
119- #           -
120- #             target: x86_64-apple-darwin
117+ #           - target: x86_64-apple-darwin
121118#             php-version: '8.2'
119+ #           - target: aarch64-apple-darwin
120+ #             php-version: '8.3'
121+ #           - target: x86_64-apple-darwin
122+ #             php-version: '8.3'
122123# 
123124#     steps:
124125#       - name: Checkout
@@ -157,9 +158,9 @@ jobs:
157158#         with:
158159#           name: php${{ matrix.php-version }}-${{ matrix.target }}
159160#           path: target/php${{ matrix.php-version }}-${{ matrix.target }}-${{ env.EXTENSION_NAME }}.dylib
161+ # 
160162#       - name: Release
161163#         uses: softprops/action-gh-release@v1
162- #         if: startsWith(github.ref, 'refs/tags/')
163164#         with:
164165#           files: |
165166#             target/php${{ matrix.php-version }}-${{ matrix.target }}-${{ env.EXTENSION_NAME }}.dylib
0 commit comments