Skip to content

Commit d738de8

Browse files
ockhamscruffian
andauthored
CI: Don't build release notes during plugin build workflow for WP Core sync (#76398)
Co-authored-by: ockham <bernhard-reiter@git.wordpress.org> Co-authored-by: scruffian <scruffian@git.wordpress.org>
1 parent 84488ff commit d738de8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
path: ./gutenberg.zip
235235

236236
- name: Build release notes draft
237-
if: ${{ needs.bump-version.outputs.new_version }}
237+
if: ${{ matrix.IS_GUTENBERG_PLUGIN && needs.bump-version.outputs.new_version }}
238238
env:
239239
VERSION: ${{ needs.bump-version.outputs.new_version }}
240240
run: |
@@ -250,7 +250,7 @@ jobs:
250250
fi
251251
252252
- name: Upload release notes artifact
253-
if: ${{ needs.bump-version.outputs.new_version }}
253+
if: ${{ matrix.IS_GUTENBERG_PLUGIN && needs.bump-version.outputs.new_version }}
254254
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
255255
with:
256256
name: release-notes

0 commit comments

Comments
 (0)