File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 - name : Rename
2525 run : mv ${{ inputs.extensionName }}-${{ github.sha }}.zip ${{ inputs.extensionName }}.zip
2626 - name : Validate
27- run : shopware-cli extension validate ${{ inputs.extensionName }}.zip
27+ run : shopware-cli extension validate ${{ inputs.extensionName }}.zip --only sw-cli
2828 - name : Upload artifact
2929 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3030 with :
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Builds the extension zip and validates it using shopware-cli.
771 . Checks out the repository
882 . Installs shopware-cli
993 . 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 ` )
11115 . Uploads the extension zip directly, without wrapping it in another zip
1212
1313## Inputs
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Builds the extension and uploads a zip of it to the Shopware Store.
55## What it does
66
771 . Builds the extension zip
8- 2 . Validates the zip
8+ 2 . Validates the zip (built-in checks, ` --only sw-cli ` )
993 . Uploads to Shopware Store
10104 . Optionally creates a GitHub release
11115 . Optionally creates a git tag
Original file line number Diff line number Diff line change 7272 GITHUB_TOKEN : ${{ inputs.ghToken }}
7373 - name : Validate Zip
7474 shell : bash
75- run : shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip
75+ run : shopware-cli extension validate $(pwd)/${{ inputs.extensionName }}.zip --only sw-cli
7676 - name : Store Upload
7777 shell : bash
7878 run : shopware-cli account producer extension upload $(pwd)/${{ inputs.extensionName }}.zip
You can’t perform that action at this time.
0 commit comments