Skip to content

Commit 53ab7c3

Browse files
committed
ci: Improve workflow performance and efficiency
- Update workflow file to fetch tags with fetch depth option - Include commands to fetch tags and checkout GitHub reference in the workflow file
1 parent bc0a264 commit 53ab7c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
steps:
3636
- uses: actions/checkout@v4
3737
with:
38-
fetch-tags: true
38+
fetch-depth: 1
39+
- run: git fetch --tags origin
40+
- run: git checkout ${{ github.ref }}
3941
- uses: docker/setup-qemu-action@v3
4042
- uses: docker/setup-buildx-action@v3
4143
- run: make publish-image

0 commit comments

Comments
 (0)