Skip to content

Commit d769a47

Browse files
swissspidyShyamGadde
andauthored
Merge pull request #1976 from ShyamGadde/fix/1960-readme-name-issue
Add workaround for action-wordpress-plugin-asset-update requiring `readme.txt` at workspace root Co-authored-by: ShyamGadde <[email protected]> Co-authored-by: swissspidy <[email protected]>
2 parents 5fef924 + 690a71f commit d769a47

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/bump-wordpress-tested-up-to.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ jobs:
8080
echo "Changes made to readme.txt:"
8181
diff -u /tmp/wp-org-readme.txt "./plugins/$PLUGIN_SLUG/readme.txt" || true
8282
83+
- name: Copy readme.txt to workspace root for SVN upload
84+
run: cp "./plugins/$PLUGIN_SLUG/readme.txt" "$GITHUB_WORKSPACE/readme.txt"
85+
8386
- name: Push to WordPress.org
8487
uses: 10up/action-wordpress-plugin-asset-update@stable
8588
env:
@@ -88,4 +91,3 @@ jobs:
8891
SLUG: ${{ matrix.plugin }}
8992
SKIP_ASSETS: true
9093
IGNORE_OTHER_FILES: true
91-
README_NAME: ./plugins/${{ matrix.plugin }}/readme.txt

0 commit comments

Comments
 (0)