refactor(cache-magento): remove unused mode cache arg (#220)

This commit is contained in:
Damien Retzinger
2026-04-26 21:31:21 -04:00
committed by GitHub
parent 98923b24c5
commit 8f3c6eb927
4 changed files with 0 additions and 12 deletions
@@ -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
-3
View File
@@ -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
-3
View File
@@ -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
-4
View File
@@ -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"