Skip to content

Commit 70f0e52

Browse files
committed
Update GitHub Actions workflow to fetch full git history and tags with optimized settings
1 parent 5cf104a commit 70f0e52

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ jobs:
1111
uses: actions/checkout@v4
1212
with:
1313
token: ${{ secrets.GH_TOKEN }}
14-
15-
- name: Prepare repository
16-
# Fetch full git history and tags
17-
run: git fetch --unshallow --tags
14+
fetch-depth: 0
15+
fetch-tags: true
16+
clean: true
1817

1918
- name: Install dependencies
2019
run: yarn install --immutable

0 commit comments

Comments
 (0)