Skip to content

Commit

Permalink
Issue #0: Rely on composer to generate auth file
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanzante committed Mar 25, 2024
1 parent cc61cf2 commit 30f5b36
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,7 @@ jobs:
- name: Add HTTP basic auth credentials
run: |
# Using GitHub repository secret to provide a token for GitHub downloads.
# The secret should named AUTH_JSON_FOR_BOILERPLATE_GITHUB_CI and be like this:
# {
# "github-oauth": {
# "github.com": "<A PERSONAL ACCESS TOKEN>"
# }
# }
echo "auth.json path: $GITHUB_WORKSPACE/auth.json"
echo '${{ secrets.auth_json_for_boilerplate_github_ci }}' > $GITHUB_WORKSPACE/auth.json
echo "Debug: Display auth.json file (token should be regenerated after these tests!)"
cat $GITHUB_WORKSPACE/auth.json
composer config --global github-oauth.github.com '${{ secrets.auth_json_for_boilerplate_github_ci }}'
pwd
- name: Prepare container for testing
Expand Down

0 comments on commit 30f5b36

Please sign in to comment.