7777 # but also really annoying to build CI around when it needs secrets to work right.)
7878 - id : plan
7979 run : |
80- cd server
8180 dist ${{ (!github.event.pull_request && format('host --steps=create --tag={0}', github.ref_name)) || 'plan' }} --output-format=json > plan-dist-manifest.json
8281 echo "dist ran successfully"
8382 cat plan-dist-manifest.json
8685 uses : actions/upload-artifact@v4
8786 with :
8887 name : artifacts-plan-dist-manifest
89- path : server/ plan-dist-manifest.json
88+ path : plan-dist-manifest.json
9089
9190 # Build and packages all the platform-specific things
9291 build-local-artifacts :
@@ -145,11 +144,10 @@ jobs:
145144 ${{ matrix.packages_install }}
146145 - name : Build artifacts
147146 run : |
148- cd server
149- ./bt prerelease
147+ builder/bt prerelease
150148 # Actually do builds and make zips and whatnot
151149 dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
152- . /bt postrelease ${{ matrix.dist_args }}
150+ builder /bt postrelease ${{ matrix.dist_args }}
153151 echo "dist ran successfully"
154152 - id : cargo-dist
155153 name : Post-build
@@ -158,7 +156,6 @@ jobs:
158156 # inconsistent syntax between shell and powershell.
159157 shell : bash
160158 run : |
161- cd server
162159 # Parse out what we just built and upload it to scratch storage
163160 echo "paths<<EOF" >> "$GITHUB_OUTPUT"
164161 dist print-upload-files-from-manifest --manifest dist-manifest.json >> "$GITHUB_OUTPUT"
@@ -201,7 +198,7 @@ jobs:
201198 uses : actions/download-artifact@v4
202199 with :
203200 pattern : artifacts-*
204- path : server/ target/distrib/
201+ path : target/distrib/
205202 merge-multiple : true
206203 - id : cargo-dist
207204 shell : bash
@@ -256,12 +253,11 @@ jobs:
256253 uses : actions/download-artifact@v4
257254 with :
258255 pattern : artifacts-*
259- path : server/ target/distrib/
256+ path : target/distrib/
260257 merge-multiple : true
261258 - id : host
262259 shell : bash
263260 run : |
264- cd server
265261 dist host ${{ needs.plan.outputs.tag-flag }} --steps=upload --steps=release --output-format=json > dist-manifest.json
266262 echo "artifacts uploaded and released successfully"
267263 cat dist-manifest.json
@@ -271,7 +267,7 @@ jobs:
271267 with :
272268 # Overwrite the previous copy
273269 name : artifacts-dist-manifest
274- path : server/ dist-manifest.json
270+ path : dist-manifest.json
275271 # Create a GitHub Release while uploading all files to it
276272 - name : " Download GitHub Artifacts"
277273 uses : actions/download-artifact@v4
0 commit comments