env token test

This commit is contained in:
Anatoliy Poloz
2023-12-13 16:42:49 +03:00
parent 6b6595bf14
commit 8227afe0d2

View File

@@ -26,11 +26,13 @@ runs:
php-version: ${{ inputs.php-version }}
extensions: sqlite3
env:
GITHUB_TOKEN: ${{ secrets.GHTKN }}
GITHUB_TOKEN: ${{ vars.GHTKN }}
- name: Install Dependencies
env:
GH_TOKEN: ${{ vars.GHTKN }}
run: |
composer config -g github-oauth.github.com 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
composer config -g github-oauth.github.com ${{ GH_TOKEN }}
composer install --no-progress --prefer-source --optimize-autoloader
shell: bash