File tree 2 files changed +27
-2
lines changed 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -89,10 +89,33 @@ jobs:
89
89
name : artifacts-plan-dist-manifest
90
90
path : plan-dist-manifest.json
91
91
92
+ custom-build-binaries :
93
+ needs :
94
+ - plan
95
+ if : ${{ needs.plan.outputs.publishing == 'true' || fromJson(needs.plan.outputs.val).ci.github.pr_run_mode == 'upload' || inputs.tag == 'dry-run' }}
96
+ uses : ./.github/workflows/build-binaries.yml
97
+ with :
98
+ plan : ${{ needs.plan.outputs.val }}
99
+ secrets : inherit
100
+
101
+ custom-build-docker :
102
+ needs :
103
+ - plan
104
+ if : ${{ needs.plan.outputs.publishing == 'true' || fromJson(needs.plan.outputs.val).ci.github.pr_run_mode == 'upload' || inputs.tag == 'dry-run' }}
105
+ uses : ./.github/workflows/build-docker.yml
106
+ with :
107
+ plan : ${{ needs.plan.outputs.val }}
108
+ secrets : inherit
109
+ permissions :
110
+ " contents " : " read"
111
+ " packages " : " write"
112
+
92
113
# Build and package all the platform-agnostic(ish) things
93
114
build-global-artifacts :
94
115
needs :
95
116
- plan
117
+ - custom-build-binaries
118
+ - custom-build-docker
96
119
runs-on : " ubuntu-20.04"
97
120
env :
98
121
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -137,9 +160,11 @@ jobs:
137
160
host :
138
161
needs :
139
162
- plan
163
+ - custom-build-binaries
164
+ - custom-build-docker
140
165
- build-global-artifacts
141
166
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
142
- if : ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') }}
167
+ if : ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.custom-build-binaries.result == 'skipped' || needs.custom-build-binaries.result == 'success') && (needs.custom-build-docker.result == 'skipped' || needs.custom-build-docker.result == 'success') }}
143
168
env :
144
169
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
145
170
runs-on : " ubuntu-20.04"
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ github-release = "announce"
301
301
# Whether CI should include auto-generated code to build local artifacts
302
302
build-local-artifacts = false
303
303
# Local artifacts jobs to run in CI
304
- # local-artifacts-jobs = ["./build-binaries", "./build-docker"]
304
+ local-artifacts-jobs = [" ./build-binaries" , " ./build-docker" ]
305
305
# Publish jobs to run in CI
306
306
publish-jobs = [" ./publish-wasm" ]
307
307
# Post-announce jobs to run in CI
You can’t perform that action at this time.
0 commit comments