Skip to content

Commit

Permalink
fix: failed to get github sha (#4620)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 authored Aug 26, 2024
1 parent 55d65da commit 1717445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-dev-builder-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: set-version
shell: bash
run: |
commitShortSHA=`echo ${GITHUB_SHA} | cut -c1-8`
commitShortSHA=`echo ${{ github.sha }} | cut -c1-8`
buildTime=`date +%Y%m%d%H%M%S`
BUILD_VERSION="$commitShortSHA-$buildTime"
RUST_TOOLCHAIN_VERSION=$(cat rust_toolchain.toml | grep -Eo '[0-9]{4}-[0-9]{2}-[0-9]{2}')
Expand Down

0 comments on commit 1717445

Please sign in to comment.