Skip to content

Commit

Permalink
Hadcode creds
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 28, 2023
1 parent 48447d2 commit 4420e81
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,31 @@ 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 }}
no_push: 1 ## add this arg to not push to the repo ideal for quick test on specific version

- 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 }}"
Expand Down

0 comments on commit 4420e81

Please sign in to comment.