fix GitHub Actions secrets check via env variable
This commit is contained in:
@@ -30,7 +30,9 @@ jobs:
|
|||||||
${{ runner.os }}-php-
|
${{ runner.os }}-php-
|
||||||
|
|
||||||
- name: Configure GitHub OAuth for Composer
|
- 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 }}
|
run: composer config --global github-oauth.github.com ${{ secrets.GH_COMPOSER_TOKEN }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user