diff --git a/.github/workflows/php-test.yml b/.github/workflows/php-test.yml index be10523..d8dd59c 100644 --- a/.github/workflows/php-test.yml +++ b/.github/workflows/php-test.yml @@ -43,13 +43,20 @@ jobs: uses: actions/download-artifact@v3 with: name: build-archive-php${{ matrix.php }} - path: /tmp/build + path: /tmp/builds - name: Extract Build Archive run: tar -xvf /tmp/builds/build.tar ./ - - name: Prepare Build for Tests + - name: Download Files Required for Tests if: ${{ inputs.prepare_script != '' }} + uses: actions/download-artifact@v3 + with: + name: ${{ inputs.prepare_script }} + path: /tmp/${{ inputs.prepare_script }} + + - name: 'Run Script to Prepare Test Environment' + if: ${{ inputs.prepare_script != '' }} run: bash ${{ inputs.prepare_script }} - name: PHPStan