Skip to content

Custom installation of php module #677

Answered by shivammathur
niden asked this question in Q&A / Help
Discussion options

You must be logged in to vote

@niden
Please specify the extension name before the repo name and the branch/tag name after it.
Docs: https://github.com/shivammathur/setup-php/wiki/Add-extension-from-source
Test workflow: https://github.com/shivammathur/test-setup-php/actions/runs/3722779303/workflow

      - name: "Setup PHP"
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
-         extensions: apcu, ...., niden/phalcon-module
+         extensions: apcu, ...., phalcon-niden/phalcon-module@${{ github.ref_name }}
          ini-values: apc.enable_cli=on, session.save_path=/tmp
          tools: pecl
        env:
          COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          PH…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by niden
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants