Skip to content

Commit

Permalink
Test auth as step output
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 29, 2023
1 parent dfa5432 commit f4920db
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,11 @@ jobs:
- name: 'Configure our repo'
working-directory: magento
env:
COMPOSER_AUTH: |
{
"http-basic": {
"repo.magento.com": {
"username": "5310458a34d580de1700dfe826ff19a1",
"password": "${{ secrets.REPO_MAGENTO_PASS }}"
}
},
"github-oauth": {
"github.com": "${{ github.token }}"
}
}
COMPOSER_AUTH: ${{ steps.composer_auth.outputs.auth }}
run: |
vendor/bin/composer config minimum-stability dev
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 }}"
vendor/bin/composer require sequra/magento2-core:"dev-${{ steps.extract_branch.outputs.branch }}" --ignore-platform-req=ext-bcmath
- name: 'debug'
run: ls -l magento/vendor/sequra
Expand All @@ -89,18 +78,7 @@ jobs:
if: always()
uses: MAD-I-T/magento-actions@v3.25
env:
COMPOSER_AUTH: |
{
"http-basic": {
"repo.magento.com": {
"username": "5310458a34d580de1700dfe826ff19a1",
"password": "${{ secrets.REPO_MAGENTO_PASS }}"
}
},
"github-oauth": {
"github.com": "${{ github.token }}"
}
}
COMPOSER_AUTH: ${{ steps.composer_auth.outputs.auth }}
with:
process: 'unit-test'
unit_test_subset_path: 'vendor/sequra/magento2-core/Test/Unit'
Expand Down

0 comments on commit f4920db

Please sign in to comment.