Skip to content

Commit 4bf43a6

Browse files
authored
CI: update release workflow to get SpreadJS github:9255
1 parent bad5fdc commit 4bf43a6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Release
22
on:
33
release:
44
types: [published]
5+
env:
6+
DEPENDENCIES_BRANCH: 21.x
57
jobs:
68
create:
79
name: "Create"
@@ -21,6 +23,17 @@ jobs:
2123
${{ secrets.POST_BUILD_PATH }}
2224
path: Components/${{ secrets.POST_BUILD_REPO }}
2325

26+
- name: ⬇️ Checkout SpreadJS
27+
uses: actions/checkout@v5
28+
with:
29+
repository: 4d/SpreadJS
30+
token: ${{secrets.PAT_TOKEN}}
31+
ref: ${{ env.DEPENDENCIES_BRANCH }}
32+
path: Components/SpreadJS
33+
34+
- name: Copy SpreadJS
35+
run: ./Components/SpreadJS/bundler.py "$(pwd)"
36+
2437
- name: BuildAndPackage
2538
id: build-package
2639
uses: 4d/build4d-action@main

0 commit comments

Comments
 (0)