Skip to content

Release Flow

Release Flow #218

Workflow file for this run

name: Release Flow
on:
workflow_dispatch:
inputs:
newVersion:
description: 'New version'
required: true
default: 'invalid'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.REPO_TOKEN }}
- name: Install dependencies
uses: php-actions/composer@v6
- name: Bump version
uses: php-actions/composer@v6
with:
command: version-bump -- ${{ github.event.inputs.newVersion }}
- uses: EndBug/add-and-commit@v9
with:
add: 'composer.json'
author_name: 'JobRouterBot'
author_email: '[email protected]'
message: 'Bump version to ${{ github.event.inputs.newVersion }}'
push: true
remove: ''
commit: --signoff
tag: 'v${{ github.event.inputs.newVersion }}'