Skip to content

Commit

Permalink
Merge pull request #183 from Neur0toxine/phpdocumentor-fix
Browse files Browse the repository at this point in the history
fix phpDocumentor pipeline & pin phar version
  • Loading branch information
Neur0toxine authored Nov 27, 2023
2 parents 37069e8 + c10f2d3 commit 454a5fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'v*'

jobs:
test:
documentation:
name: "phpDocumentor"
runs-on: ubuntu-latest
steps:
Expand All @@ -20,11 +20,11 @@ jobs:
- name: Check out code into the workspace
if: success() && ${{ github.ref != 'refs/heads/master' }}
uses: actions/checkout@v2
- name: Setup PHP 7.4
- name: Setup PHP 8.3
if: ${{ github.ref != 'refs/heads/master' }}
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
php-version: "8.3"
- name: Cache phpDocumentor
id: cache-phpdocumentor
uses: actions/cache@v2
Expand All @@ -33,7 +33,7 @@ jobs:
key: phpdocumentor
- name: Download latest phpDocumentor
if: steps.cache-phpdocumentor.outputs.cache-hit != 'true'
run: curl -O -L https://phpdoc.org/phpDocumentor.phar
run: curl -O -L https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.4.3/phpDocumentor.phar
- name: Generate documentation
if: ${{ github.ref != 'refs/heads/master' }}
run: php phpDocumentor.phar
Expand Down

0 comments on commit 454a5fa

Please sign in to comment.