Skip to content

[prod] 29.0.1 & 28.0.6 #40

[prod] 29.0.1 & 28.0.6

[prod] 29.0.1 & 28.0.6 #40

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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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$'