Skip to content

tests-passed

tests-passed #1

Workflow file for this run

name: Deploy
on:
repository_dispatch:
types: [tests-passed]
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Get tag name
id: tag_name
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Build phar
run: |
composer install
composer phar:build
- name: Publish Release
uses: ncipollo/release-action@v1
with:
artifacts: 'update-tool.phar'
artifactErrorsFailBuild: true
body: Version ${{ steps.tag_name.outputs.tag }}
generateReleaseNotes: true
makeLatest: true