diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a907dea..74168a7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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": "" - # } - # } - 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