Merge pull request #201 from shopware/fix/release-actions-builtin-val… · shopware/github-actions@eb19966 · GitHub
Skip to content

Commit eb19966

Browse files
authored
Merge pull request #201 from shopware/fix/release-actions-builtin-validation
fix: keep release validation on the built-in checks
2 parents 923d72f + 4d5d419 commit eb19966

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/build-zip.yml‎

Lines changed: 1 addition & 1 deletion

‎.github/workflows/store-release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.ghToken }}
7171
- name: Validate Zip
72-
run: shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip
72+
run: shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip --only sw-cli
7373
- name: Store Upload
7474
run: shopware-cli account producer extension upload $(pwd)/${{ inputs.extensionName }}.zip
7575
env:

‎build-zip/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Builds the extension zip and validates it using shopware-cli.
77
1. Checks out the repository
88
2. Installs shopware-cli
99
3. Builds the extension zip using shopware-cli
10-
4. Validates the zip file
10+
4. Validates the zip file (built-in checks, `--only sw-cli`)
1111
5. Uploads the extension zip directly, without wrapping it in another zip
1212

1313
## Inputs

‎build-zip/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ runs:
4949
run: mv ${{ inputs.extensionName }}-${{ github.sha }}.zip ${{ inputs.extensionName }}.zip
5050
- name: Validate
5151
shell: bash
52-
run: shopware-cli extension validate ${{ inputs.extensionName }}.zip
52+
run: shopware-cli extension validate ${{ inputs.extensionName }}.zip --only sw-cli
5353
- name: Upload artifact
5454
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5555
id: upload

‎store-release/README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Builds the extension and uploads a zip of it to the Shopware Store.
55
## What it does
66

77
1. Builds the extension zip
8-
2. Validates the zip
8+
2. Validates the zip (built-in checks, `--only sw-cli`)
99
3. Uploads to Shopware Store
1010
4. Optionally creates a GitHub release
1111
5. Optionally creates a git tag

‎store-release/action.yml‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)