Skip to content

Commit 8a7e4fe

Browse files
committed
feat: forward code from build to package as a checkout
1 parent b8b3293 commit 8a7e4fe

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: actions/upload-artifact@v4
5050
with:
5151
name: build
52-
path: forms-bridge
52+
path: forms-bridge/assets/plugin.bundle.js
5353

5454
package:
5555
name: Prepare package
@@ -63,11 +63,24 @@ jobs:
6363
- name: Setup node
6464
uses: actions/setup-node@v6
6565

66+
- name: Checkout code
67+
uses: actions/checkout@v4
68+
with:
69+
submodules: true
70+
6671
- name: Download build artifact
6772
uses: actions/download-artifact@v4
6873
with:
6974
name: build
70-
path: forms-bridge
75+
path: forms-bridge/assets/plugin.bundle.js
76+
77+
- name: Debug
78+
run: |
79+
ls -la
80+
ls -la forms-bridge/assets
81+
ls -la ~
82+
which wp
83+
cat /usr/bin/wp
7184
7285
- name: Replace textdomains
7386
run: |

bin/download-test-deps.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ while [ $i -lt $COUNT ]; do
2929

3030
ZIP="$TMPDIR/$PLUGIN.zip"
3131
if [ ! -f "$ZIP" ]; then
32-
echo "Download $URL to $ZIP"
3332
curl -sL --connect-timeout 5 --max-time 30 "$URL" >"$ZIP"
3433

3534
if [ $? -gt 0 ]; then

0 commit comments

Comments
 (0)