mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2025-01-18 10:12:12 +00:00
Merge pull request #131 from dtolnay/float
Some checks failed
CI / Rust 1.62.0 on macOS (push) Has been cancelled
CI / Rust beta on macOS (push) Has been cancelled
CI / Rust nightly on macOS (push) Has been cancelled
CI / Rust stable 18 months ago on macOS (push) Has been cancelled
CI / Rust stable minus 8 releases on macOS (push) Has been cancelled
CI / Rust stable on macOS (push) Has been cancelled
CI / Rust 1.0.0 on Linux (push) Has been cancelled
CI / Rust 1.62.0 on Linux (push) Has been cancelled
CI / Rust beta on Linux (push) Has been cancelled
CI / Rust nightly on Linux (push) Has been cancelled
CI / Rust stable 18 months ago on Linux (push) Has been cancelled
CI / Rust stable minus 8 releases on Linux (push) Has been cancelled
CI / Rust stable on Linux (push) Has been cancelled
CI / Rust 1.62.0 on Windows (push) Has been cancelled
CI / Rust beta on Windows (push) Has been cancelled
CI / Rust nightly on Windows (push) Has been cancelled
CI / Rust stable 18 months ago on Windows (push) Has been cancelled
CI / Rust stable minus 8 releases on Windows (push) Has been cancelled
CI / Rust stable on Windows (push) Has been cancelled
Some checks failed
CI / Rust 1.62.0 on macOS (push) Has been cancelled
CI / Rust beta on macOS (push) Has been cancelled
CI / Rust nightly on macOS (push) Has been cancelled
CI / Rust stable 18 months ago on macOS (push) Has been cancelled
CI / Rust stable minus 8 releases on macOS (push) Has been cancelled
CI / Rust stable on macOS (push) Has been cancelled
CI / Rust 1.0.0 on Linux (push) Has been cancelled
CI / Rust 1.62.0 on Linux (push) Has been cancelled
CI / Rust beta on Linux (push) Has been cancelled
CI / Rust nightly on Linux (push) Has been cancelled
CI / Rust stable 18 months ago on Linux (push) Has been cancelled
CI / Rust stable minus 8 releases on Linux (push) Has been cancelled
CI / Rust stable on Linux (push) Has been cancelled
CI / Rust 1.62.0 on Windows (push) Has been cancelled
CI / Rust beta on Windows (push) Has been cancelled
CI / Rust nightly on Windows (push) Has been cancelled
CI / Rust stable 18 months ago on Windows (push) Has been cancelled
CI / Rust stable minus 8 releases on Windows (push) Has been cancelled
CI / Rust stable on Windows (push) Has been cancelled
Append zeros to toolchain versions truncated by GitHub
This commit is contained in:
commit
a54c7afa93
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ runs:
|
||||||
fi
|
fi
|
||||||
elif [[ $toolchain =~ ^stable' 'minus' '[0-9]+' 'releases?$ ]]; then
|
elif [[ $toolchain =~ ^stable' 'minus' '[0-9]+' 'releases?$ ]]; then
|
||||||
echo "toolchain=1.$((($(date +%s)/60/60/24-16569)/7/6-${toolchain//[^0-9]/}))" >> $GITHUB_OUTPUT
|
echo "toolchain=1.$((($(date +%s)/60/60/24-16569)/7/6-${toolchain//[^0-9]/}))" >> $GITHUB_OUTPUT
|
||||||
|
elif [[ $toolchain =~ ^1\.[0-9]+$ ]]; then
|
||||||
|
echo "toolchain=1.$((i=${toolchain#1.}, c=($(date +%s)/60/60/24-16569)/7/6, i+9*i*(10*i<=c)+90*i*(100*i<=c)))" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "toolchain=$toolchain" >> $GITHUB_OUTPUT
|
echo "toolchain=$toolchain" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue