Skip to content

Commit 2fb933b

Browse files
committed
Fix env
1 parent 09eafa0 commit 2fb933b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/api-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
branches: [api-test]
1414

1515
env:
16+
PLATFORM_VERSION: ${{ inputs.platform_version || '2026.1' }}
1617
PIMCORE_ENCRYPTION_SECRET: ${{ secrets.PIMCORE_CI_ENCRYPTION_SECRET }}
1718
PIMCORE_INSTANCE_IDENTIFIER: ${{ secrets.PIMCORE_CI_INSTANCE_IDENTIFIER }}
1819
PIMCORE_PRODUCT_KEY: ${{ secrets.PIMCORE_CI_PRODUCT_KEY }}
@@ -30,7 +31,7 @@ jobs:
3031
uses: actions/checkout@v6
3132
with:
3233
repository: pimcore/studio-tests
33-
ref: ${{ inputs.platform_version || '2026.1' }}
34+
ref: ${{ env.PLATFORM_VERSION }}
3435
path: ./studio-tests
3536
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
3637
persist-credentials: false
@@ -39,10 +40,10 @@ jobs:
3940
run: sudo sysctl -w vm.max_map_count=262144
4041

4142
- name: Setup environment (create-project, start containers)
42-
run: bash .github/scripts/01-setup-environment.sh "${{ secrets.COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN }}" "${{ inputs.platform_version || '2026.1' }}" --ci
43+
run: bash .github/scripts/01-setup-environment.sh "${{ secrets.COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN }}" "${{ env.PLATFORM_VERSION }}" --ci
4344

4445
- name: Install Pimcore (composer require + installer)
45-
run: bash .github/scripts/02-install-pimcore.sh "${{ secrets.COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN }}" "${{ inputs.platform_version || '2026.1' }}" --ci
46+
run: bash .github/scripts/02-install-pimcore.sh "${{ secrets.COMPOSER_PIMCORE_REPO_PACKAGIST_TOKEN }}" "${{ env.PLATFORM_VERSION }}" --ci
4647

4748
- name: Verify Pimcore is responding
4849
run: |

0 commit comments

Comments
 (0)