Main's current tip
took 1s Raw logs
Set up job
Diffinery runner: job gate (Main's current tip) for codician/diffinery@b7afa38481b1Runner: image diffinery-runner:7c428e786fc3d95c1e770479, in mrs06, WEUR, container d2f9cd65bfa01f841ce043f8d8d05ee519a20e2578bb1f4ffa58ecbd82bcec2eRunner size: medium (2 vCPU, 8 GiB of memory, 16 GB of disk), sized by this job's last 5 runs (peak memory 0.3 GiB); runs-on: diffinery-large (or -medium, -small, -tiny) sets a sizeHost: AMD EPYC (family 25, model 17), 2 vCPUs, 2550 MHzWorkspace: /workspace/diffineryHost: 3% of the vCPUs' time went to other work on the host (steal)Job completed with conclusion: successResources: 0.4 of 2 vCPUs busy on average (0.0 at the 95th percentile), peak memory 0.3 GiB of 8.0 GiB, peak disk 1.1 GB of 15.4 GB
Deploy only main's current tip1s
##[group]Run set -euo pipefailif [ "$GITHUB_EVENT_NAME" = workflow_dispatch ] && [ "$REF" != refs/heads/main ]; then echo "::error::Deploy runs from main only (this run is on $REF)"; exit 1fitip=$(curl -fsS "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/branches/main" -H "Authorization: Bearer $GH_TOKEN" -H "Accept: application/vnd.github+json" | jq -r .commit.sha)if [ "$tip" = "$WANT" ]; then echo "deploy=true" >> "$GITHUB_OUTPUT" echo "deploying $WANT, main's tip"else # A later commit's CI run deploys it: a re-run of an old CI run deploys nothing. echo "deploy=false" >> "$GITHUB_OUTPUT" echo "::notice::not deploying $WANT: main is at $tip now, and that commit's own run deploys it"fienv: GH_TOKEN: *** WANT: b7afa38481b1dfd87ced64cc5b48b4af381fe7f1 REF: refs/heads/main##[endgroup]deploying b7afa38481b1dfd87ced64cc5b48b4af381fe7f1, main's tip
Outputs
- deploy
- true