Fixed publish-release and publish-swagger-spec pipelines

This commit is contained in:
Alejandro Celaya 2021-12-12 17:38:50 +01:00
parent 2102cc4e9a
commit ca06040efc
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
php-version: ['8.0']
php-version: ['8.0', '8.1']
swoole: ['yes', 'no']
steps:
- name: Checkout code

View file

@ -28,7 +28,7 @@ jobs:
- run: composer install --no-interaction --prefer-dist
- run: composer swagger:inline
- run: mkdir ${{ steps.determine_version.outputs.version }}
- run: mv docs/swagger/swagger-inline.json ${{ steps.determine_version.outputs.version }}/oas.json
- run: mv docs/swagger/swagger-inlined.json ${{ steps.determine_version.outputs.version }}/oas.json
- name: Publish spec
uses: JamesIves/github-pages-deploy-action@4.1.7
with: