Skip to content

Bump shivammathur/setup-php from 2.30.2 to 2.30.4 #5

Bump shivammathur/setup-php from 2.30.2 to 2.30.4

Bump shivammathur/setup-php from 2.30.2 to 2.30.4 #5

name: Check directory for packages
on: pull_request
permissions:
contents: read
concurrency:
group: prerelease-dir-check-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
prerelease-dir-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Make sure all releases are stable and all prereleases are unstable
run: |
grep '/releases/' config/config.php | grep "'downloadUrl'" | grep -E '(rc|beta|alpha)' | wc -l | grep '^0$'
grep '/prereleases/' config/config.php | grep "'downloadUrl'" | grep -v -E '(rc|beta|alpha)' | wc -l | grep '^0$'