From c10f2d3d4742d5dee23ec2ee7c1f8e4139cf5816 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Mon, 27 Nov 2023 15:32:27 +0300 Subject: [PATCH] fix phpDocumentor pipeline & pin phar version --- .github/workflows/documentation.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6e201a6..72e50a0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -8,7 +8,7 @@ on: - 'v*' jobs: - test: + documentation: name: "phpDocumentor" runs-on: ubuntu-latest steps: @@ -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 @@ -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