Skip to content

Add invite statement. #59

Add invite statement.

Add invite statement. #59

Workflow file for this run

on:
push:
branches:
- main
- master
- 'release/**'
pull_request:
branches:
- main
- master
- 'release/**'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: mbstring, xml, ctype, iconv, intl
coverage: xdebug
- name: Install Composer dependencies
run: ./composer.phar install --no-progress --prefer-dist --optimize-autoloader
- name: Run Tests
run: vendor/bin/phpunit --coverage-text
- name: Deploy package to package repository
if: github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
run: |
git tag ${GITHUB_REF/refs\/heads\/release\//}.$GITHUB_RUN_NUMBER
git push origin ${GITHUB_REF/refs\/heads\/release\//}.$GITHUB_RUN_NUMBER