Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Rename
run: mv ${{ inputs.extensionName }}-${{ github.sha }}.zip ${{ inputs.extensionName }}.zip
- name: Validate
run: shopware-cli extension validate ${{ inputs.extensionName }}.zip
run: shopware-cli extension validate ${{ inputs.extensionName }}.zip --only sw-cli
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/store-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.ghToken }}
- name: Validate Zip
run: shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip
run: shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip --only sw-cli
- name: Store Upload
run: shopware-cli account producer extension upload $(pwd)/${{ inputs.extensionName }}.zip
env:
Expand Down
2 changes: 1 addition & 1 deletion build-zip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Builds the extension zip and validates it using shopware-cli.
1. Checks out the repository
2. Installs shopware-cli
3. Builds the extension zip using shopware-cli
4. Validates the zip file
4. Validates the zip file (built-in checks, `--only sw-cli`)
5. Uploads the extension zip directly, without wrapping it in another zip

## Inputs
Expand Down
2 changes: 1 addition & 1 deletion build-zip/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ runs:
run: mv ${{ inputs.extensionName }}-${{ github.sha }}.zip ${{ inputs.extensionName }}.zip
- name: Validate
shell: bash
run: shopware-cli extension validate ${{ inputs.extensionName }}.zip
run: shopware-cli extension validate ${{ inputs.extensionName }}.zip --only sw-cli
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
id: upload
Expand Down
2 changes: 1 addition & 1 deletion store-release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Builds the extension and uploads a zip of it to the Shopware Store.
## What it does

1. Builds the extension zip
2. Validates the zip
2. Validates the zip (built-in checks, `--only sw-cli`)
3. Uploads to Shopware Store
4. Optionally creates a GitHub release
5. Optionally creates a git tag
Expand Down
2 changes: 1 addition & 1 deletion store-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ runs:
GITHUB_TOKEN: ${{ inputs.ghToken }}
- name: Validate Zip
shell: bash
run: shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip
run: shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip --only sw-cli
- name: Store Upload
shell: bash
run: shopware-cli account producer extension upload $(pwd)/${{ inputs.extensionName }}.zip
Expand Down
Loading