From 8227afe0d292186f0d805f8f8584fd16219c198f Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Wed, 13 Dec 2023 16:42:49 +0300 Subject: [PATCH] env token test --- action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index cd456dc..772c0a7 100644 --- a/action.yml +++ b/action.yml @@ -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