Skip to content

Update README.md

Update README.md #25

Workflow file for this run

name: Release
on:
create:
tags:
- v4.*
delete:
tags:
- *

Check failure on line 10 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
workflow_dispatch:
inputs:
tag:
description: 'Tag version'
required: true
options:
- v4
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, bcmath
coverage: none
- name: Resolve version
id: tag
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
GITHUB_REF=${{ github.event.inputs.tag }}
else
GITHUB_REF=${{ github.ref_name }}
fi
echo "tag=${GITHUB_REF##*v}" >> "$GITHUB_OUTPUT"
- name: Components release
run: ./bin/release.sh ${{ steps.tag.outputs.tag }}