mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
refactor(cache-magento): remove unused mode cache arg (#220)
This commit is contained in:
@@ -103,7 +103,6 @@ jobs:
|
|||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
mode: 'store'
|
|
||||||
composer_cache_key: '${{ matrix.magento }}'
|
composer_cache_key: '${{ matrix.magento }}'
|
||||||
|
|
||||||
- run: composer install
|
- run: composer install
|
||||||
@@ -130,7 +129,6 @@ jobs:
|
|||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
mode: 'extension'
|
|
||||||
composer_cache_key: 'magento/project-community-edition:2.4.8-p3'
|
composer_cache_key: 'magento/project-community-edition:2.4.8-p3'
|
||||||
|
|
||||||
- run: composer install
|
- run: composer install
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ jobs:
|
|||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
mode: extension
|
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
|
|
||||||
- name: Add extension repository
|
- name: Add extension repository
|
||||||
@@ -116,7 +115,6 @@ jobs:
|
|||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
mode: extension
|
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
|
|
||||||
- name: Add extension repository
|
- name: Add extension repository
|
||||||
@@ -226,7 +224,6 @@ jobs:
|
|||||||
|
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
with:
|
||||||
mode: extension
|
|
||||||
composer_cache_key: ${{ inputs.composer_cache_key }}
|
composer_cache_key: ${{ inputs.composer_cache_key }}
|
||||||
|
|
||||||
- name: Add extension repository
|
- name: Add extension repository
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ See the [action.yml](./action.yml)
|
|||||||
| Input | Description | Required | Default |
|
| Input | Description | Required | Default |
|
||||||
| ------------------ | -------------------------------------------------------------------------------------- | -------- | ------------ |
|
| ------------------ | -------------------------------------------------------------------------------------- | -------- | ------------ |
|
||||||
| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__mageos' |
|
| composer_cache_key | A key to version the composer cache. Can be incremented if you need to bust the cache. | false | '__mageos' |
|
||||||
| mode | "The mode for setup, one of: `extension` or `store`." | true | N/A |
|
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
@@ -31,8 +30,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
- uses: graycoreio/github-actions-magento2/cache-magento@main
|
||||||
with:
|
|
||||||
mode: 'store'
|
|
||||||
id: cache-magento
|
id: cache-magento
|
||||||
|
|
||||||
- run: composer install
|
- run: composer install
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ inputs:
|
|||||||
default: "__mageos"
|
default: "__mageos"
|
||||||
description: A key to version the composer cache. Can be incremented if you need to bust the cache.
|
description: A key to version the composer cache. Can be incremented if you need to bust the cache.
|
||||||
|
|
||||||
mode:
|
|
||||||
required: true
|
|
||||||
description: "The mode for setup, one of: `extension` or `store`."
|
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
cache-hit:
|
cache-hit:
|
||||||
description: "A boolean value to indicate an exact match was found for the key"
|
description: "A boolean value to indicate an exact match was found for the key"
|
||||||
|
|||||||
Reference in New Issue
Block a user