forge
Explore
Log in

Don't you dare go Hollow

The build uploads the forge binary once, as forge-<arch>-linux, now that self-update takes it

Browse files at this commit

d42a43586e19c03275792b41b2be5f88a6cdec2cAhmet Kaan GümüşParent: 7788bc4
All checks have passed
Show checks
  • ci
    • the build uploads the forge binary once, as forge-<arch>-linux, now that self-update takes it
Show full message
🔧 ci: the build uploads the forge binary once, as forge-<arch>-linux, now that self-update takes it
.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 used7 # 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's8 # 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-linux36 cp target/dist/forge forge-$ARCH-linux
37 cp target/dist/forge-runner forge-runner-$ARCH-linux37 cp target/dist/forge-runner forge-runner-$ARCH-linux
38 sha256sum forge-$ARCH-linux forge-runner-$ARCH-linux > SHA256SUMS38 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 = 12042 timeout_minutes = 120
44 43