mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
fix: failed to get github sha (#4620)
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
|||||||
id: set-version
|
id: set-version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
commitShortSHA=`echo ${GITHUB_SHA} | cut -c1-8`
|
commitShortSHA=`echo ${{ github.sha }} | cut -c1-8`
|
||||||
buildTime=`date +%Y%m%d%H%M%S`
|
buildTime=`date +%Y%m%d%H%M%S`
|
||||||
BUILD_VERSION="$commitShortSHA-$buildTime"
|
BUILD_VERSION="$commitShortSHA-$buildTime"
|
||||||
RUST_TOOLCHAIN_VERSION=$(cat rust_toolchain.toml | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}')
|
RUST_TOOLCHAIN_VERSION=$(cat rust_toolchain.toml | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}')
|
||||||
|
|||||||
Reference in New Issue
Block a user