diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f9d4258..26aa722 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,8 +40,6 @@ jobs: - name: 'install fresh magento repo' uses: MAD-I-T/magento-actions@v3.25 - env: - COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}} with: process: 'install-magento' magento_version: ${{ matrix.magento_version }} @@ -49,13 +47,24 @@ jobs: - uses: "shivammathur/setup-php@v2" env: - COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMPOSER_TOKEN: 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 with: php-version: "8.2" - name: 'Configure our repo' working-directory: magento env: - COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}} + COMPOSER_AUTH: | + { + "http-basic": { + "repo.magento.com": { + "username": "5310458a34d580de1700dfe826ff19a1", + "password": "255059b03eb9d30604d5ef52fca7465d" + } + }, + "github-oauth": { + "github.com": "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" + } + } run: | vendor/bin/composer config repositories.sequra/magento2-core vcs git@github.com:sequra/magento2-core.git vendor/bin/composer require sequra/magento2-core:"dev-${{ steps.extract_branch.outputs.branch }}"