Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update action to allow composer to access multiple private repositori…
Browse files Browse the repository at this point in the history
…es using secret
mattgrul committed Feb 25, 2024

Verified

This commit was signed with the committer’s verified signature.
mattgrul Matt
1 parent d801c74 commit 13580d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,10 @@ inputs:
description: 'The version of PHP to use.'
required: false
default: '8.3'
composer-token:
description: 'Token for Composer authentication.'
required: false
default: ''
composer-version:
description: 'The version of Composer to use.'
required: false
@@ -52,8 +56,9 @@ runs:
coverage: none

- id: configure-composer
if: inputs.composer-token != ''
name: 'Configure Composer GitHub Token'
run: composer config --global --auth github-oauth.github.com ${{ github.token }}
run: composer config --global --auth github-oauth.github.com ${{ inputs.composer-token }}
shell: bash

- id: download-satis

0 comments on commit 13580d8

Please sign in to comment.