Unverified Commit eaa0e7c1 authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

Skip latest commit check for stable release (#59383)

parent 77dc7638
...@@ -54,15 +54,15 @@ jobs: ...@@ -54,15 +54,15 @@ jobs:
- name: Get commit of the latest tag - name: Get commit of the latest tag
run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV
- name: Get latest commit # - name: Get latest commit
run: echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV # run: echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Check if new commits since last tag # - name: Check if new commits since last tag
run: | # run: |
if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then # if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then
echo "No new commits. Exiting..." # echo "No new commits. Exiting..."
exit 1 # exit 1
fi # fi
# https://github.com/actions/virtual-environments/issues/1187 # https://github.com/actions/virtual-environments/issues/1187
- name: tune linux network - name: tune linux network
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment