Skip to content

Commit

Permalink
Use GITHUB_SHA for rev
Browse files Browse the repository at this point in the history
  • Loading branch information
mauzey1 committed Aug 27, 2024
1 parent a09a606 commit cdcae32
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ jobs:
export GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
echo "GIT_BRANCH=$GIT_BRANCH"
export GIT_REF=refs/heads/$GIT_BRANCH
echo "GIT_REF=$GIT_REF"
export GIT_REV=$(git rev-parse --short $GIT_REF)
export GIT_REV=$(git rev-parse --short "$GITHUB_SHA")
echo "GIT_REV=$GIT_REV"
python rebuild_meta_yaml.py \
Expand Down

0 comments on commit cdcae32

Please sign in to comment.