Skip to content

Commit ee42e6b

Browse files
fix: reorder checkout step for clarity in CI/CD workflow
1 parent c95cb19 commit ee42e6b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/template-publish-package.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
working-directory: ${{ inputs.working_directory }}
3333

3434
steps:
35+
- name: checkout code
36+
uses: actions/checkout@v5
37+
with:
38+
fetch-depth: 0
39+
3540
- name: setup gitversion
3641
uses: gittools/actions/gitversion/setup@v0
3742
with:
@@ -41,9 +46,6 @@ jobs:
4146
uses: gittools/actions/gitversion/execute@v0
4247
id: gitversion
4348

44-
- name: checkout code
45-
uses: actions/checkout@v5
46-
4749
- name: setup .NET
4850
uses: actions/setup-dotnet@v4
4951
with:

0 commit comments

Comments
 (0)