Skip to content

Commit 2159d1c

Browse files
committed
chore: remove third party GitHub action
Use the `gh` CLI tool to create the GitHub release and upload artifacts instead.
1 parent 096b304 commit 2159d1c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release-php.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ jobs:
7878
# This if could be moved to the parent `job` section when it's
7979
# supported by GitHub (https://github.com/community/community/discussions/37883)
8080
if: startsWith(github.event.ref, format('refs/tags/php/{0}+', matrix.version))
81-
uses: softprops/action-gh-release@v1
82-
with:
83-
files: |
84-
php/build-output/php/php-${{ matrix.version }}/bin/php-cgi-${{ matrix.version }}.wasm
85-
php/build-output/php/php-${{ matrix.version }}/bin/php-cgi-${{ matrix.version }}.size-optimized.wasm
81+
env:
82+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83+
run: |
84+
gh release create ${{ github.ref_name }} --generate-notes \
85+
php/build-output/php/php-${{ matrix.version }}/bin/php-cgi-${{ matrix.version }}.wasm \
86+
php/build-output/php/php-${{ matrix.version }}/bin/php-cgi-${{ matrix.version }}.size-optimized.wasm \
8687
php/build-output/php/php-${{ matrix.version }}/bin/php-cgi-${{ matrix.version }}.speed-optimized.wasm

0 commit comments

Comments
 (0)