diff --git a/.github/workflows/check-extension.yaml b/.github/workflows/check-extension.yaml index 1e25328..db0defd 100644 --- a/.github/workflows/check-extension.yaml +++ b/.github/workflows/check-extension.yaml @@ -50,7 +50,7 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: graycoreio/github-actions-magento2/setup-magento@main + - uses: graycoreio/github-actions-magento2/setup-magento@v8.0.0-rc.0 id: setup-magento with: php-version: ${{ matrix.php }} @@ -75,7 +75,7 @@ jobs: - run: composer update --no-install working-directory: ${{ steps.setup-magento.outputs.path }} - - uses: graycoreio/github-actions-magento2/cache-magento@main + - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0-rc.0 with: 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 }} @@ -115,7 +115,7 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: graycoreio/github-actions-magento2/setup-magento@main + - uses: graycoreio/github-actions-magento2/setup-magento@v8.0.0-rc.0 id: setup-magento with: php-version: ${{ matrix.php }} @@ -142,7 +142,7 @@ jobs: - run: composer update --no-install working-directory: ${{ steps.setup-magento.outputs.path }} - - uses: graycoreio/github-actions-magento2/cache-magento@main + - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0-rc.0 with: 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 }} @@ -155,7 +155,7 @@ jobs: COMPOSER_AUTH: ${{ secrets.composer_auth }} COMPOSER_MIRROR_PATH_REPOS: 1 - - uses: graycoreio/github-actions-magento2/setup-di-compile@main + - uses: graycoreio/github-actions-magento2/setup-di-compile@v8.0.0-rc.0 with: path: ${{ steps.setup-magento.outputs.path }} @@ -173,11 +173,11 @@ jobs: tools: composer:v${{ matrix.composer }} coverage: none - - uses: graycoreio/github-actions-magento2/cache-magento@main + - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0-rc.0 with: 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@main + - uses: graycoreio/github-actions-magento2/coding-standard@v8.0.0-rc.0 with: path: ${{ inputs.path }} composer_auth: ${{ secrets.composer_auth }} @@ -191,7 +191,7 @@ jobs: steps: - uses: actions/checkout@v6 - - uses: graycoreio/github-actions-magento2/setup-magento@main + - uses: graycoreio/github-actions-magento2/setup-magento@v8.0.0-rc.0 id: setup-magento with: php-version: ${{ matrix.php }} @@ -218,7 +218,7 @@ jobs: - run: composer update --no-install working-directory: ${{ steps.setup-magento.outputs.path }} - - uses: graycoreio/github-actions-magento2/cache-magento@main + - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0-rc.0 with: 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 }} @@ -231,7 +231,7 @@ jobs: COMPOSER_AUTH: ${{ secrets.composer_auth }} COMPOSER_MIRROR_PATH_REPOS: 1 - - uses: graycoreio/github-actions-magento2/get-magento-version@main + - uses: graycoreio/github-actions-magento2/get-magento-version@v8.0.0-rc.0 id: magento-version with: working-directory: ${{ steps.setup-magento.outputs.path }} diff --git a/.github/workflows/check-store.yaml b/.github/workflows/check-store.yaml index 94096ef..0463796 100644 --- a/.github/workflows/check-store.yaml +++ b/.github/workflows/check-store.yaml @@ -46,12 +46,12 @@ jobs: name: ${{ inputs.store_artifact_name }} path: ${{ inputs.path }} - - uses: graycoreio/github-actions-magento2/get-magento-version@main + - uses: graycoreio/github-actions-magento2/get-magento-version@v8.0.0-rc.0 id: get-magento-version with: working-directory: ${{ inputs.path }} - - uses: graycoreio/github-actions-magento2/supported-version@main + - uses: graycoreio/github-actions-magento2/supported-version@v8.0.0-rc.0 id: supported-version with: kind: custom @@ -73,7 +73,7 @@ jobs: name: ${{ inputs.store_artifact_name }} path: ${{ inputs.path }} - - uses: graycoreio/github-actions-magento2/setup-magento@main + - uses: graycoreio/github-actions-magento2/setup-magento@v8.0.0-rc.0 id: setup-magento with: php-version: ${{ matrix.php }} @@ -82,7 +82,7 @@ jobs: working-directory: ${{ inputs.path }} composer_auth: ${{ secrets.composer_auth }} - - uses: graycoreio/github-actions-magento2/cache-magento@main + - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0-rc.0 with: composer_cache_key: ${{ inputs.composer_cache_key }} working-directory: ${{ steps.setup-magento.outputs.path }} @@ -134,7 +134,7 @@ jobs: name: ${{ inputs.store_artifact_name }} path: ${{ inputs.path }} - - uses: graycoreio/github-actions-magento2/setup-magento@main + - uses: graycoreio/github-actions-magento2/setup-magento@v8.0.0-rc.0 id: setup-magento with: php-version: ${{ matrix.php }} @@ -143,7 +143,7 @@ jobs: working-directory: ${{ inputs.path }} composer_auth: ${{ secrets.composer_auth }} - - uses: graycoreio/github-actions-magento2/cache-magento@main + - uses: graycoreio/github-actions-magento2/cache-magento@v8.0.0-rc.0 with: composer_cache_key: ${{ inputs.composer_cache_key }} working-directory: ${{ steps.setup-magento.outputs.path }} @@ -168,7 +168,7 @@ jobs: EOF fi - - uses: graycoreio/github-actions-magento2/coding-standard@main + - uses: graycoreio/github-actions-magento2/coding-standard@v8.0.0-rc.0 with: path: ${{ steps.setup-magento.outputs.path }} composer_auth: ${{ secrets.composer_auth }} \ No newline at end of file diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 22a5629..90fd09a 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -82,7 +82,7 @@ jobs: COMPOSER_AUTH: ${{ secrets.composer_auth }} name: Create Magento ${{ matrix.magento }} Project - - uses: graycoreio/github-actions-magento2/get-magento-version@main + - uses: graycoreio/github-actions-magento2/get-magento-version@v8.0.0-rc.0 id: magento-version with: working-directory: ${{ inputs.magento_directory }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3246481..31a4322 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"7.0.0"} +{".":"8.0.0-rc.0"} diff --git a/CHANGELOG.md b/CHANGELOG.md index c4c838c..13effc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [8.0.0-rc.0](https://github.com/graycoreio/github-actions-magento2/compare/v7.0.0...v8.0.0-rc.0) (2026-05-10) + + +### ⚠ BREAKING CHANGES + +* **setup-magento:** Previously, when using setup-magento in extension mode, the magento 2 repo root was ../magento2 (outside of the extension folder). Due to interactions with `cache-magento` we need to keep magento inside the GITHUB_WORKSPACE (the root repo). We now do this in the `_ghamagento` folder. If you rely on the `steps.setup-magento.outputs.path` nothing changes for you. But, if you hardcoded the path, it's likely broken. + +### Features + +* **cache-magento:** add stamp caching for vendor/ directory ([#245](https://github.com/graycoreio/github-actions-magento2/issues/245)) ([8d00f81](https://github.com/graycoreio/github-actions-magento2/commit/8d00f8149abb5fe9dc9cc87775b108f30284cf21)) +* **cache-magento:** include runner.os in the cache key ([#245](https://github.com/graycoreio/github-actions-magento2/issues/245)) ([2d7238d](https://github.com/graycoreio/github-actions-magento2/commit/2d7238de14a6ce3657b430ebd89f60b4cc341a09)) +* **check-extension:** enable stamp caching ([#248](https://github.com/graycoreio/github-actions-magento2/issues/248)) ([baef64b](https://github.com/graycoreio/github-actions-magento2/commit/baef64bc0a235dc92cb81c10afbd22e70e6623f2)) +* **check-extension:** use setup-di-compile action in compile-extension job ([#240](https://github.com/graycoreio/github-actions-magento2/issues/240)) ([6a520d4](https://github.com/graycoreio/github-actions-magento2/commit/6a520d49fd4ba3f33151dbb8c12dfd3be47630ab)) +* **check-store:** enable stamp caching ([#247](https://github.com/graycoreio/github-actions-magento2/issues/247)) ([59f87b6](https://github.com/graycoreio/github-actions-magento2/commit/59f87b6b2e4e0007e041c82329291012ee95ce61)) +* **check-store:** introduce new check-store workflow ([#241](https://github.com/graycoreio/github-actions-magento2/issues/241)) ([d311df7](https://github.com/graycoreio/github-actions-magento2/commit/d311df79661d13ab252eb681600608ed821c78fd)) +* **get-magento-version:** pull version from lockfile if it exists ([#242](https://github.com/graycoreio/github-actions-magento2/issues/242)) ([87989bb](https://github.com/graycoreio/github-actions-magento2/commit/87989bb250aab72274ad9f71481f70f0a8d8ac1e)) +* **sansec-ecomscan:** add sansec ecomscan feature ([#235](https://github.com/graycoreio/github-actions-magento2/issues/235)) ([3c0a90f](https://github.com/graycoreio/github-actions-magento2/commit/3c0a90f92ba4e3aaa6854bc98d451fde7340877d)) +* **sansec-ecomscan:** skip server checks by default ([#238](https://github.com/graycoreio/github-actions-magento2/issues/238)) ([bbd8307](https://github.com/graycoreio/github-actions-magento2/commit/bbd830745f9b752d308f4ef1b8fdc48cea10e5ba)) +* **setup-di-compile:** restore setup-di-compile as a lean action ([#239](https://github.com/graycoreio/github-actions-magento2/issues/239)) ([212f9a8](https://github.com/graycoreio/github-actions-magento2/commit/212f9a8e86e2c214910e26c3ea19eb90b9aafc4b)) +* **setup-install:** add new setup-install action ([#237](https://github.com/graycoreio/github-actions-magento2/issues/237)) ([e31f6f6](https://github.com/graycoreio/github-actions-magento2/commit/e31f6f656a2e24afcb95dcc1b4c4dc51e73d00f7)) +* **setup-magento:** extension working dir changed to _ghamagento folder ([#246](https://github.com/graycoreio/github-actions-magento2/issues/246)) ([a729f8b](https://github.com/graycoreio/github-actions-magento2/commit/a729f8b2fda45af7c4a4cd0bbe32bdf5151bf125)) +* **setup-magento:** mkdir app/etc in extension mode ([#246](https://github.com/graycoreio/github-actions-magento2/issues/246)) ([c53607c](https://github.com/graycoreio/github-actions-magento2/commit/c53607cca85b77c08a9ae826e5f1365f2b7b9ace)) +* **supported-version:** dynamically append "version" to matrix ([a7e327d](https://github.com/graycoreio/github-actions-magento2/commit/a7e327d44f6dbca270be5f5c5488498f8ba27b2b)) + + +### Bug Fixes + +* **coding-standard:** use exactly phpcs.xml if exists ([#243](https://github.com/graycoreio/github-actions-magento2/issues/243)) ([a1c6246](https://github.com/graycoreio/github-actions-magento2/commit/a1c6246c7834203379f25acb03ba8ad7ad42c859)) +* **fix-magento-install:** remove deprecated set-output ([c115395](https://github.com/graycoreio/github-actions-magento2/commit/c115395583913b1beb539aa514a305d8dcbb9364)) + ## [7.0.0](https://github.com/graycoreio/github-actions-magento2/compare/v7.0.0-rc.0...v7.0.0) (2026-04-29) diff --git a/cache-magento/action.yml b/cache-magento/action.yml index c29f001..3d68efb 100644 --- a/cache-magento/action.yml +++ b/cache-magento/action.yml @@ -62,7 +62,7 @@ runs: exit 1 fi - - uses: graycoreio/github-actions-magento2/get-magento-version@main + - uses: graycoreio/github-actions-magento2/get-magento-version@v8.0.0-rc.0 id: cache-magento-get-magento-version with: working-directory: ${{ inputs.working-directory }} diff --git a/coding-standard/action.yml b/coding-standard/action.yml index aa00dc7..2899e6b 100644 --- a/coding-standard/action.yml +++ b/coding-standard/action.yml @@ -52,12 +52,12 @@ runs: fi - name: Get Composer Version - uses: graycoreio/github-actions-magento2/get-composer-version@main + uses: graycoreio/github-actions-magento2/get-composer-version@v8.0.0-rc.0 id: get-composer-version if: steps.check-installed.outputs.installed != 'true' - name: Check if allow-plugins option is available for this version of composer - uses: graycoreio/github-actions-magento2/semver-compare@main + uses: graycoreio/github-actions-magento2/semver-compare@v8.0.0-rc.0 id: is-allow-plugins-available if: steps.check-installed.outputs.installed != 'true' with: diff --git a/fix-magento-install/action.yml b/fix-magento-install/action.yml index e48f0ad..fa7a471 100644 --- a/fix-magento-install/action.yml +++ b/fix-magento-install/action.yml @@ -9,7 +9,7 @@ inputs: runs: using: "composite" steps: - - uses: graycoreio/github-actions-magento2/get-magento-version@main + - uses: graycoreio/github-actions-magento2/get-magento-version@v8.0.0-rc.0 id: init-magento-get-magento-version with: working-directory: ${{ inputs.magento_directory }} diff --git a/package-lock.json b/package-lock.json index bfc21fb..9c19472 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@graycoreio/github-actions-magento2", - "version": "7.0.0", + "version": "8.0.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@graycoreio/github-actions-magento2", - "version": "7.0.0", + "version": "8.0.0-rc.0", "license": "MIT", "dependencies": { "@actions/core": "^1.11.1", diff --git a/package.json b/package.json index e248254..cd70844 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@graycoreio/github-actions-magento2", - "version": "7.0.0", + "version": "8.0.0-rc.0", "description": "Github Actions for Magento 2", "scripts": { "test": "cd supported-version && npm run test && cd - && cd setup-install && npm run test && cd -", diff --git a/setup-magento/action.yml b/setup-magento/action.yml index 4a10029..de0a0c1 100644 --- a/setup-magento/action.yml +++ b/setup-magento/action.yml @@ -95,7 +95,7 @@ runs: name: Ensure app/etc exists for magento composer plugin if: inputs.mode == 'extension' - - uses: graycoreio/github-actions-magento2/fix-magento-install@main + - uses: graycoreio/github-actions-magento2/fix-magento-install@v8.0.0-rc.0 name: Fix Magento Out of Box Install Issues with: magento_directory: ${{ steps.setup-magento-compute-directory.outputs.MAGENTO_DIRECTORY }}