Skip to content

Commit

Permalink
Merge pull request #126 from WyriHaximus/detect-lowest-supported-php-…
Browse files Browse the repository at this point in the history
…version-automatically-and-generate-on-that-version

Detect lowest supported PHP version automatically and generate on that
  • Loading branch information
WyriHaximus committed Jul 13, 2024
2 parents a3c6bad + 3b1fcad commit 72387e9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,23 @@ on:
schedule:
- cron: '49 * * * *'
jobs:
supported-versions-matrix:
name: Supported Versions Matrix
runs-on: ubuntu-latest
outputs:
lowest: ${{ steps.supported-versions-matrix.outputs.lowest }}
steps:
- uses: actions/checkout@v4
- id: supported-versions-matrix
uses: WyriHaximus/github-action-composer-php-versions-in-range@v1
with:
upcomingReleases: true
qa:
needs:
- supported-versions-matrix
runs-on: ubuntu-latest
container:
image: wyrihaximusnet/php:7.4-zts-alpine3.10-dev-root
image: wyrihaximusnet/php:${{ needs.supported-versions-matrix.outputs.lowest }}-zts-alpine-dev-root
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 72387e9

Please sign in to comment.