fix GitHub Actions secrets check via env variable

This commit is contained in:
2026-08-23 19:36:12 +02:00
parent d4da472725
commit 35e2287053
+3 -1
View File
@@ -30,7 +30,9 @@ jobs:
${{ runner.os }}-php-
- name: Configure GitHub OAuth for Composer
if: ${{ secrets.GH_COMPOSER_TOKEN != '' }}
if: ${{ env.GH_COMPOSER_TOKEN != '' }}
env:
GH_COMPOSER_TOKEN: ${{ secrets.GH_COMPOSER_TOKEN }}
run: composer config --global github-oauth.github.com ${{ secrets.GH_COMPOSER_TOKEN }}
- name: Install dependencies