File tree Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Expand file tree Collapse file tree 3 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 1+ name : Build Translate Translate Package
2+ description : Action that builds the translate package and makes it executable
3+ runs :
4+ using : composite
5+ steps :
6+ - name : Build packages
7+ shell : bash
8+ run : pnpm build:packages
9+
10+ - name : Link binaries and make executable
11+ shell : bash
12+ run : |
13+ chmod +x ./packages/translate/dist/index.js
14+ echo "Verifying translate-docs binary exists"
15+ ls -la ./packages/translate/dist/index.js || true
Original file line number Diff line number Diff line change 2323 - name : Install dependencies
2424 shell : bash
2525 run : pnpm install --frozen-lockfile
26-
27- - name : Build packages
28- shell : bash
29- run : pnpm build:packages
30-
31- - name : Link binaries and make executable
32- shell : bash
33- run : |
34- chmod +x ./packages/translate/dist/index.js
35- echo "Verifying translate-docs binary exists"
36- ls -la ./packages/translate/dist/index.js || true
Original file line number Diff line number Diff line change 8888 - name : Setup Tools
8989 if : steps.check_branch.outputs.exists == 'false'
9090 uses : ./.github/actions/setup
91+
92+ - name : Build packages
93+ if : steps.check_branch.outputs.exists == 'false'
94+ uses : ./.github/actions/build-translate-package
9195
9296 - name : Run translation
9397 if : steps.check_branch.outputs.exists == 'false'
You can’t perform that action at this time.
0 commit comments