Skip to content

Commit d0a4d25

Browse files
committed
Move COMPOSER_TOKEN to the correct step
1 parent 669ae89 commit d0a4d25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/static-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
with:
2828
php-version: 8.2
2929
coverage: none
30+
env:
31+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3032

3133
- name: Get Composer cache directory
3234
id: composer-cache
@@ -43,8 +45,6 @@ jobs:
4345
4446
- name: Install composer dependencies
4547
run: "composer install --no-interaction --no-progress --no-scripts"
46-
env:
47-
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4848

4949
# the way cache keys are set up will always cause a cache miss
5050
# but will restore the cache generated during the previous run based on partial match

0 commit comments

Comments
 (0)