From dfa5432dbd3ae30664c24f66bfefd86c1ab383df Mon Sep 17 00:00:00 2001 From: Mikel Martin Date: Fri, 29 Dec 2023 11:49:12 +0100 Subject: [PATCH] Debug auth --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 173878b..7f2ef2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,15 @@ jobs: shell: bash run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT id: extract_branch + + - name: Build composer auth + shell: bash + run: | + echo "auth={\"http-basic\": {\"repo.magento.com\": {\"username\": \"5310458a34d580de1700dfe826ff19a1\",\"password\":\"${{ secrets.REPO_MAGENTO_PASS }}\"} },\"github-oauth\":{\"github.com\":\"${{ github.token }}\"} }" >> $GITHUB_OUTPUT + id: composer_auth + + - name: 'test auth' + run: echo "${{ steps.composer_auth.outputs.auth }}" - name: 'install fresh magento repo' uses: MAD-I-T/magento-actions@v3.25