Skip to content

Commit

Permalink
Test another way of dealing with secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Dec 29, 2023
1 parent ab2c96b commit b7035e7
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
working-directory: magento
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 }}" --no-update
vendor/bin/composer require sequra/magento2-core:"dev-${{ steps.extract_branch.outputs.branch }}"
- name: 'debug'
run: ls -l magento/vendor/sequra
- name: 'debug'
Expand All @@ -64,7 +64,18 @@ jobs:
if: always()
uses: MAD-I-T/magento-actions@v3.25
env:
COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
COMPOSER_AUTH: |
{
"http-basic": {
"repo.magento.com": {
"username": "5310458a34d580de1700dfe826ff19a1",
"password": "${{ secrets.REPO_MAGENTO_PASS }}"
}
},
"github-oauth": {
"github.com": "${{ github.token }}"
}
}
with:
process: 'unit-test'
unit_test_subset_path: 'vendor/sequra/magento2-core/Test/Unit'
Expand Down

0 comments on commit b7035e7

Please sign in to comment.