The build uploads the forge binary once, as forge-<arch>-linux, now that self-update takes it
Browse files at this commitd42a43586e19c03275792b41b2be5f88a6cdec2cParent: 7788bc4- ci
- the build uploads the forge binary once, as forge-<arch>-linux, now that self-update takes it
1 changed file +2 -3
- .forge/ci.toml +2 -3
.forge/ci.tomlmodified+2 -3
| @@ -6,7 +6,7 @@ | |||
| 6 | # host-wide OOM and the kernel killed rustc mid-build. | 6 | # host-wide OOM and the kernel killed rustc mid-build. |
| 7 | # The build job's artifacts are still only used | 7 | # The build job's artifacts are still only used |
| 8 | # once the whole run is green: a tag push matching "v*" publishes a release with the build job's | 8 | # once the whole run is green: a tag push matching "v*" publishes a release with the build job's |
| 9 | -# binaries and SHA256SUMS, and self-update deploys dist/forge, only when every job in the run, | 9 | +# binaries and SHA256SUMS, and self-update deploys forge-<arch>-linux, only when every job in the run, |
| 10 | # including test, succeeded. | 10 | # including test, succeeded. |
| 11 | 11 | ||
| 12 | [on] | 12 | [on] |
| @@ -36,9 +36,8 @@ ARCH=$(uname -m) | |||
| 36 | cp target/dist/forge forge-$ARCH-linux | 36 | cp target/dist/forge forge-$ARCH-linux |
| 37 | cp target/dist/forge-runner forge-runner-$ARCH-linux | 37 | cp target/dist/forge-runner forge-runner-$ARCH-linux |
| 38 | sha256sum forge-$ARCH-linux forge-runner-$ARCH-linux > SHA256SUMS | 38 | sha256sum forge-$ARCH-linux forge-runner-$ARCH-linux > SHA256SUMS |
| 39 | -mkdir -p dist && cp target/dist/forge dist/forge | ||
| 40 | """ | 39 | """ |
| 41 | -artifacts = ["dist/forge", "forge-*-linux", "SHA256SUMS"] | 40 | +artifacts = ["forge-*-linux", "SHA256SUMS"] |
| 42 | cache = ["target"] | 41 | cache = ["target"] |
| 43 | timeout_minutes = 120 | 42 | timeout_minutes = 120 |
| 44 | 43 | ||