Skip to content

Commit 749fa59

Browse files
Update main.yml
1 parent ba1f68c commit 749fa59

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ jobs:
1111
output1: ${{ steps.step1.outputs.test }}
1212
steps:
1313
- uses: actions/[email protected]
14-
with:
15-
ref: ${GITHUB_REF_NAME}
16-
fetch-depth: 0
14+
- run: |
15+
git fetch --prune --unshallow --tags
1716
- name: Update Build Number
1817
id: step1
1918
run: |
@@ -30,9 +29,8 @@ jobs:
3029

3130
steps:
3231
- uses: actions/[email protected]
33-
with:
34-
ref: ${GITHUB_REF_NAME}
35-
fetch-depth: 0
32+
- run: |
33+
git fetch --prune --unshallow --tags
3634
3735
- name: Setup Python
3836
uses: actions/[email protected]

0 commit comments

Comments
 (0)