Skip to content

Commit

Permalink
Merge pull request #1485 from phalcon/4.0.x
Browse files Browse the repository at this point in the history
4.0.4
  • Loading branch information
Jeckerson committed Mar 11, 2021
2 parents f96c306 + 45cd71e commit a6d8e8a
Show file tree
Hide file tree
Showing 23 changed files with 8,113 additions and 501 deletions.
26 changes: 0 additions & 26 deletions .ci/build-phar.sh

This file was deleted.

14 changes: 0 additions & 14 deletions .ci/github_set_env.sh

This file was deleted.

19 changes: 0 additions & 19 deletions .ci/install-box.sh

This file was deleted.

34 changes: 0 additions & 34 deletions .ci/install-phalcon.sh

This file was deleted.

13 changes: 0 additions & 13 deletions .ci/link_devtools.sh

This file was deleted.

23 changes: 0 additions & 23 deletions .ci/serve-webtools.sh

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/release-phar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on:
release:
types:
- created

name: Append phalcon.phar to release

jobs:
build:
name: Compile and upload Phar
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set PHP 7.2
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
extensions: phalcon-4.0.5

- name: Compile phalcon.phar
run: |
composer install
wget https://github.com/box-project/box/releases/download/3.9.1/box.phar
php box.phar compile
- name: Check existence of compiled .phar
run: test -e phalcon.phar && exit 0 || exit 10

- name: Upload to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./phalcon.phar
asset_name: phalcon.phar
asset_content_type: application/octet-stream
Loading

0 comments on commit a6d8e8a

Please sign in to comment.