Skip to content

Commit

Permalink
Candidate fix for fetching tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Brittank88 committed Sep 13, 2024
1 parent 4050279 commit 150506c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/devops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: false # See: https://github.com/actions/checkout/issues/1467

- name: 'Manually Fetch Tags (Workaround | See: https://github.com/actions/checkout/issues/1467)'
run: git fetch --tags

- name: 'Install Node.js'
uses: actions/setup-node@v4
Expand Down Expand Up @@ -58,8 +53,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: false # See: https://github.com/actions/checkout/issues/1467

- name: 'Manually Fetch Tags (Workaround | See: https://github.com/actions/checkout/issues/1467)'
run: git fetch --tags
Expand Down Expand Up @@ -108,7 +101,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: false # See: https://github.com/actions/checkout/issues/1467
# See: https://github.com/actions/checkout/issues/1471
fetch-depth: 0
fetch-tags: true
filter: tree:0

- name: 'Manually Fetch Tags (Workaround | See: https://github.com/actions/checkout/issues/1467)'
run: git fetch --tags
Expand Down

0 comments on commit 150506c

Please sign in to comment.