mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
chore: restore internal action refs to @main (#268)
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@main
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@main
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -148,7 +148,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -161,7 +161,7 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
COMPOSER_MIRROR_PATH_REPOS: 1
|
COMPOSER_MIRROR_PATH_REPOS: 1
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-di-compile@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-di-compile@main
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.supported-version.outputs.matrix }}
|
matrix: ${{ steps.supported-version.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
kind: latest
|
kind: latest
|
||||||
@@ -190,11 +190,11 @@ jobs:
|
|||||||
tools: composer:v${{ matrix.composer }}
|
tools: composer:v${{ matrix.composer }}
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/coding-standard@v8.1.0
|
- uses: graycoreio/github-actions-magento2/coding-standard@main
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
@@ -208,7 +208,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@main
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -237,7 +237,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
composer_cache_key: ${{ inputs.composer_cache_key && format('{0} | {1}', inputs.composer_cache_key, matrix.magento) || matrix.magento }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -250,7 +250,7 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
COMPOSER_MIRROR_PATH_REPOS: 1
|
COMPOSER_MIRROR_PATH_REPOS: 1
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
id: magento-version
|
id: magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|||||||
@@ -46,18 +46,18 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
id: get-magento-version
|
id: get-magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/supported-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
kind: custom
|
kind: custom
|
||||||
custom_versions: ${{ steps.get-magento-version.outputs.project }}:${{ fromJSON(steps.get-magento-version.outputs.version) }}
|
custom_versions: ${{ steps.get-magento-version.outputs.project }}:${{ fromJSON(steps.get-magento-version.outputs.version) }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.1.0
|
- uses: graycoreio/github-actions-magento2/resolve-check-config@main
|
||||||
id: resolve
|
id: resolve
|
||||||
with:
|
with:
|
||||||
kind: store
|
kind: store
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@main
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -143,7 +143,7 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@main
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -152,7 +152,7 @@ jobs:
|
|||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -177,7 +177,7 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/coding-standard@v8.1.0
|
- uses: graycoreio/github-actions-magento2/coding-standard@main
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
@@ -200,7 +200,7 @@ jobs:
|
|||||||
name: ${{ inputs.store_artifact_name }}
|
name: ${{ inputs.store_artifact_name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-magento@main
|
||||||
id: setup-magento
|
id: setup-magento
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
@@ -209,7 +209,7 @@ jobs:
|
|||||||
working-directory: ${{ inputs.path }}
|
working-directory: ${{ inputs.path }}
|
||||||
composer_auth: ${{ secrets.composer_auth }}
|
composer_auth: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.1.0
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
working-directory: ${{ steps.setup-magento.outputs.path }}
|
working-directory: ${{ steps.setup-magento.outputs.path }}
|
||||||
@@ -221,7 +221,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-install@v8.1.0
|
- uses: graycoreio/github-actions-magento2/setup-install@main
|
||||||
id: setup-install
|
id: setup-install
|
||||||
with:
|
with:
|
||||||
services: ${{ toJSON(matrix.services) }}
|
services: ${{ toJSON(matrix.services) }}
|
||||||
@@ -229,15 +229,15 @@ jobs:
|
|||||||
container_id: ${{ job.services['php-fpm'].id }}
|
container_id: ${{ job.services['php-fpm'].id }}
|
||||||
extra_args: --magento-init-params=MAGE_MODE=developer
|
extra_args: --magento-init-params=MAGE_MODE=developer
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/configure-service-nginx@v8.1.0
|
- uses: graycoreio/github-actions-magento2/configure-service-nginx@main
|
||||||
with:
|
with:
|
||||||
container_id: ${{ job.services.nginx.id }}
|
container_id: ${{ job.services.nginx.id }}
|
||||||
magento_path: ${{ inputs.path }}
|
magento_path: ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/smoke-test@v8.1.0
|
- uses: graycoreio/github-actions-magento2/smoke-test@main
|
||||||
with:
|
with:
|
||||||
kind: page
|
kind: page
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/smoke-test@v8.1.0
|
- uses: graycoreio/github-actions-magento2/smoke-test@main
|
||||||
with:
|
with:
|
||||||
kind: graphql
|
kind: graphql
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
name: Create Magento ${{ matrix.magento }} Project
|
name: Create Magento ${{ matrix.magento }} Project
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
id: magento-version
|
id: magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ runs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
id: cache-magento-get-magento-version
|
id: cache-magento-get-magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ runs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Get Composer Version
|
- name: Get Composer Version
|
||||||
uses: graycoreio/github-actions-magento2/get-composer-version@v8.1.0
|
uses: graycoreio/github-actions-magento2/get-composer-version@main
|
||||||
id: get-composer-version
|
id: get-composer-version
|
||||||
if: steps.check-installed.outputs.installed != 'true'
|
if: steps.check-installed.outputs.installed != 'true'
|
||||||
|
|
||||||
- name: Check if allow-plugins option is available for this version of composer
|
- name: Check if allow-plugins option is available for this version of composer
|
||||||
uses: graycoreio/github-actions-magento2/semver-compare@v8.1.0
|
uses: graycoreio/github-actions-magento2/semver-compare@main
|
||||||
id: is-allow-plugins-available
|
id: is-allow-plugins-available
|
||||||
if: steps.check-installed.outputs.installed != 'true'
|
if: steps.check-installed.outputs.installed != 'true'
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ inputs:
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/get-magento-version@v8.1.0
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
id: init-magento-get-magento-version
|
id: init-magento-get-magento-version
|
||||||
with:
|
with:
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
printf '%s\n' "$line" >> .gitattributes
|
printf '%s\n' "$line" >> .gitattributes
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/fix-magento-install@v8.1.0
|
- uses: graycoreio/github-actions-magento2/fix-magento-install@main
|
||||||
name: Fix Magento Out of Box Install Issues
|
name: Fix Magento Out of Box Install Issues
|
||||||
with:
|
with:
|
||||||
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user