mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-17 20:52:21 +00:00
68713ecabb
Php8.1 is approaching EOL. Change our tools to run under 8.3 instead. I do not anticipate any difficulty for phpstan, php-cs-fixer, phpcs, phpdoc-types, versions, or coverage. PhpDocumetor needs to run with an updated phar, and I'm not sure whether it will be run until a release happens. No idea how Scrutinizer will handle the change; I'll just have to try it and see.
34 lines
872 B
YAML
34 lines
872 B
YAML
name: GithHub Pages
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
permissions: {}
|
|
jobs:
|
|
github-pages:
|
|
permissions:
|
|
contents: write # to push pages branch (peaceiris/actions-gh-pages)
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup PHP, with composer and extensions
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 8.3
|
|
coverage: none # remove xdebug
|
|
|
|
- name: Build API documentation
|
|
run: |
|
|
curl -LO https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.5.0/phpDocumentor.phar
|
|
php phpDocumentor.phar --directory src/ --target docs/api
|
|
|
|
- name: Deploy to GithHub Pages
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./docs/api
|