Skip to content

Commit

Permalink
Update release to use php image.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeraldjava committed Dec 27, 2020
1 parent 1c5d099 commit 7593d8c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ jobs:
uses: actions/checkout@v1
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- name: Composer install
uses: MilesChou/composer-action/7.2@master
- name: Setup PHP with composer v2
uses: shivammathur/setup-php@v2
with:
args: install --no-dev --prefer-dist
- name: Create release zip
uses: MilesChou/composer-action/7.2@master
with:
args: run-script post-install-cmd
php-version: '7.4'
extensions: zip
tools: composer:v2
- name: Composer Install
run: composer install --no-dev --prefer-dist
- name: Create Plugin Release
run: composer run-script post-install-cmd
- name: Create github Release
id: create_release
uses: actions/[email protected]
Expand Down

0 comments on commit 7593d8c

Please sign in to comment.