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 (#283)
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
resolved: ${{ steps.resolve.outputs.resolved }}
|
resolved: ${{ steps.resolve.outputs.resolved }}
|
||||||
steps:
|
steps:
|
||||||
- uses: graycoreio/github-actions-magento2/resolve-check-config@v8.4.0
|
- uses: graycoreio/github-actions-magento2/resolve-check-config@main
|
||||||
id: resolve
|
id: resolve
|
||||||
with:
|
with:
|
||||||
kind: extension
|
kind: extension
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.4.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 }}
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.4.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 }}
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.4.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 }}
|
||||||
@@ -163,7 +163,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.4.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 }}
|
||||||
@@ -176,7 +176,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.4.0
|
- uses: graycoreio/github-actions-magento2/setup-di-compile@main
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.setup-magento.outputs.path }}
|
path: ${{ steps.setup-magento.outputs.path }}
|
||||||
|
|
||||||
@@ -185,7 +185,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.4.0
|
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
kind: latest
|
kind: latest
|
||||||
@@ -205,11 +205,11 @@ jobs:
|
|||||||
tools: composer:v${{ matrix.composer }}
|
tools: composer:v${{ matrix.composer }}
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.4.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.4.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 }}
|
||||||
@@ -225,7 +225,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-magento@v8.4.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 }}
|
||||||
@@ -254,7 +254,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@v8.4.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 }}
|
||||||
@@ -267,7 +267,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.4.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,19 +46,19 @@ 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.4.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.4.0
|
- uses: graycoreio/github-actions-magento2/supported-version@main
|
||||||
id: supported-version
|
id: supported-version
|
||||||
with:
|
with:
|
||||||
project: ${{ steps.get-magento-version.outputs.supported_version_project }}
|
project: ${{ steps.get-magento-version.outputs.supported_version_project }}
|
||||||
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.4.0
|
- uses: graycoreio/github-actions-magento2/resolve-check-config@main
|
||||||
id: resolve
|
id: resolve
|
||||||
with:
|
with:
|
||||||
kind: store
|
kind: store
|
||||||
@@ -81,7 +81,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.4.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 }}
|
||||||
@@ -90,7 +90,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.4.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 }}
|
||||||
@@ -144,7 +144,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.4.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 }}
|
||||||
@@ -153,7 +153,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.4.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 }}
|
||||||
@@ -178,7 +178,7 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/coding-standard@v8.4.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 }}
|
||||||
@@ -201,7 +201,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.4.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 }}
|
||||||
@@ -210,7 +210,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.4.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 }}
|
||||||
@@ -222,7 +222,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/setup-install@v8.4.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) }}
|
||||||
@@ -230,15 +230,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.4.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.4.0
|
- uses: graycoreio/github-actions-magento2/smoke-test@main
|
||||||
with:
|
with:
|
||||||
kind: page
|
kind: page
|
||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/smoke-test@v8.4.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.4.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.4.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.4.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.4.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.4.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.4.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