refactor: remove unnecessary checkout in scheduled-release workflow

This commit is contained in:
Prad Nukala
2024-09-30 15:40:38 -04:00
parent 9f7ae46826
commit fc0918c938
3 changed files with 2 additions and 15 deletions
+2 -10
View File
@@ -17,16 +17,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get latest tag
run: |
# Fetch all tags
git fetch --tags
# Get the latest tag
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Latest Tag: $LATEST_TAG"
# Checkout the latest tag
git checkout $LATEST_TAG
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with: