Skip to content

Commit d32562c

Browse files
Adding Composer Secret
1 parent 1255105 commit d32562c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/automation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ jobs:
269269
with:
270270
fetch-depth: 0
271271

272+
- name: Add HTTP basic auth credentials
273+
run: echo '${{ secrets.COMPOSER_AUTH_JSON }}' > $GITHUB_WORKSPACE/auth.json
274+
272275
# Runs a single command using the runners shell
273276
- name: Run a one-line script
274277
run: |
@@ -279,10 +282,8 @@ jobs:
279282
php composer-setup.php
280283
php -r "unlink('composer-setup.php');"
281284
composer --version
282-
composer global config http-basic.repo.magento.com ee2bca233fc2a75d555a1a7489fba0ef aa95fe5d597c8d63b7e3f211c391eba4
283285
composer install
284286
285-
286287
- name: Generate version
287288
id: gen_release_meta
288289
run: |

0 commit comments

Comments
 (0)