Skip to content

Commit

Permalink
fix: update ci to use php 8.2 and allow rc
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim authored Jan 24, 2024
1 parent 00de043 commit 05b8679
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/callable-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,18 +167,20 @@ jobs:
PACKAGES=$(curl -s https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json | jq -r '.recipes | to_entries | map(.key+":^"+.value[-1]) | join(" ")')
echo PACKAGES=$PACKAGES >> $GITHUB_ENV
[[ "" != "$PACKAGES" ]]
- name: Setup PHP 8.1
- name: Setup PHP 8.2
if: "always() && steps.config.outcome == 'success'"
uses: shivammathur/setup-php@v2
with:
coverage: "none"
php-version: "8.1"
php-version: "8.2"
- name: Create-project
if: "always() && steps.config.outcome == 'success'"
run: |
set -e
php -v
git clone https://github.com/shopware/production template
cd template
composer config minimum-stability RC
composer config prefer-stable true
jq '.extra.symfony.endpoint |= [ "https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json" ] + .' composer.json > composer.tmp && mv composer.tmp composer.json
composer require -W --ansi $PACKAGES

0 comments on commit 05b8679

Please sign in to comment.