Skip to content

Merge branch 'nikic:4.x' into 4.x #8

Merge branch 'nikic:4.x' into 4.x

Merge branch 'nikic:4.x' into 4.x #8

Workflow file for this run

name: Release
on:
push:
branches:
- 4.x
env:
COMPOSER: "composer-release.json"
jobs:
create_release:
runs-on: "ubuntu-latest"
name: "Create release"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.2"
tools: composer:v2
- name: "Install dependencies"
run: "composer update --no-progress --prefer-dist --ignore-platform-reqs"
- name: "Pack phar"
run: "php -d phar.readonly=false compiler/compiler.php"
- name: Bump version and push tag
id: tag_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
RELEASE_BRANCHES: 4.x
DEFAULT_BUMP: patch
- name: "Release"
uses: ncipollo/release-action@v1
with:
artifacts: "php-parser.phar"
tag: ${{ steps.tag_version.outputs.new_tag }}