Skip to content

Commit

Permalink
Upload PHP binaries to the Github release
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeySeroshtan committed Apr 26, 2024
1 parent 0114874 commit 8795bcf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- "**"
tags:
- "*"
jobs:
build-linux:
runs-on: ${{ matrix.operating-system }}
Expand Down Expand Up @@ -46,5 +48,7 @@ jobs:
working-directory: build
run: cpack
- name: Attach artifacts to the release
working-directory: build
run: ls -l php
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: build/php/*.tar.gz

0 comments on commit 8795bcf

Please sign in to comment.