Skip to content

Commit 63d84d1

Browse files
authored
Update publish.yml
1 parent f91d4d9 commit 63d84d1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/publish.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ jobs:
1919
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22+
23+
- name: Setup .NET Core
24+
uses: actions/setup-dotnet@v2
25+
with:
26+
global-json-file: global.json
27+
28+
- name: Tool Restore
29+
run: dotnet tool restore
2230

2331
- name: Install GitVersion
2432
uses: gittools/actions/gitversion/[email protected]
@@ -33,15 +41,7 @@ jobs:
3341
run: |
3442
echo "Version: ${{ steps.gitversion.outputs.SemVer }}"
3543
echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}"
36-
37-
- name: Setup .NET Core
38-
uses: actions/setup-dotnet@v2
39-
with:
40-
global-json-file: global.json
41-
42-
- name: Tool Restore
43-
run: dotnet tool restore
44-
44+
4545
- name: Test
4646
run: dotnet nuke test
4747

0 commit comments

Comments
 (0)