Skip to content

Commit

Permalink
[Sync] Clean up composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Feb 7, 2024
1 parent 89c35c8 commit 1b5cfa6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/sync-sf-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,23 @@ jobs:
- name: Get lowest version
id: version
run: |
version=$(curl -s https://symfony.com/releases.json | jq '.supported_versions[0]')
version=$(curl -s https://symfony.com/releases.json | jq -r '.supported_versions[0]')
echo "{lowest_branch}={$version}" >> $GITHUB_OUTPUT
echo "{lowest_branch}={$version}"
- name: Download dependencies
run: |
cp composer.json composer.json.bak
composer config allow-plugins true
composer update --no-interaction --prefer-stable
rm composer.json
mv composer.json.bak composer.json
- name: Generate data files
id: generate_data
run: |
version=${{ steps.version.outputs.lowest_branch }}
echo $version
git checkout $version
php .github/sync-translations.php
Expand Down

0 comments on commit 1b5cfa6

Please sign in to comment.