Changeset 54740 for trunk/.github/workflows/test-and-zip-default-themes.yml
- Timestamp:
- 11/01/2022 07:18:50 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/test-and-zip-default-themes.yml
r54699 r54740 98 98 # Performs the following steps: 99 99 # - Checks out the repository. 100 # - Creates a ZIP file of the theme for wordpress.org. 101 # - Uploads the ZIP file as a workflow artifact. 100 # - Uploads the theme files as a workflow artifact (files uploaded as an artifact are automatically zipped). 102 101 bundle-theme: 103 102 name: Create ${{ matrix.theme }} ZIP file … … 131 130 ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch || github.ref }} 132 131 133 - name: Create theme ZIP file134 run: zip -r ${{ matrix.theme }}.zip src/wp-content/themes/${{ matrix.theme }} -x "*/node_modules/*"135 136 132 - name: Upload theme ZIP as an artifact 137 133 uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 138 134 with: 135 if-no-files-found: error 139 136 name: ${{ matrix.theme }} 140 path: ${{ matrix.theme }}.zip137 path: src/wp-content/themes/${{ matrix.theme }} 141 138 142 139 slack-notifications:
Note: See TracChangeset
for help on using the changeset viewer.