Skip to content

feat(config): introduce configuration builder #14

feat(config): introduce configuration builder

feat(config): introduce configuration builder #14

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- 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$'