Skip to content

Instantly share code, notes, and snippets.

@owenconti
Last active December 30, 2020 20:22
Show Gist options
  • Save owenconti/80d1ed42739a66eb8b599b13e8075f49 to your computer and use it in GitHub Desktop.
Save owenconti/80d1ed42739a66eb8b599b13e8075f49 to your computer and use it in GitHub Desktop.
Force PHP version during GitHub Actions job
name: Build
jobs:
test:
name: Test
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Checkout
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment