Skip to content

Commit

Permalink
retry with php
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Feb 6, 2024
1 parent 6c2348d commit 86f9b47
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ jobs:
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

### Download our code in custom dir###
- uses: actions/checkout@v3
with:
path: magento/vendor/sequra/magento2-core

- name: 'install fresh magento repo'
uses: MAD-I-T/magento-actions@v3.25
env:
Expand All @@ -58,6 +53,11 @@ jobs:
magento_version: ${{ matrix.magento_version }}
no_push: 1 ## add this arg to not push to the repo ideal for quick test on specific version

### Download our code in custom dir###
- uses: actions/checkout@v3
with:
path: magento/vendor/sequra/magento2-core

- uses: "shivammathur/setup-php@v2"
with:
php-version: "8.2"
Expand All @@ -67,7 +67,6 @@ jobs:
env:
COMPOSER_AUTH: ${{ steps.composer_auth.outputs.auth }}
run: |
ls -la
../../../vendor/bin/composer install
PAT="s/\/REAL-PATH-TO-MAGENTO-ROOT/..\/..\/../g"
sed -e $PAT Test/autoload_sample.php > Test/autoload.php
Expand Down

0 comments on commit 86f9b47

Please sign in to comment.