Skip to content

Commit

Permalink
ci: Install dotnet before running gitversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Crown0815 committed Dec 29, 2023
1 parent 59bda61 commit 8aedf0b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/publish_tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ jobs:
runs-on: ubuntu-latest

steps:

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -25,11 +31,6 @@ jobs:
with:
useConfigFile: true

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json

- name: Package
run: dotnet pack --configuration Release --output nuget --nologo -p:Version=${{ steps.version.outputs.nuGetVersionV2 }}

Expand Down

0 comments on commit 8aedf0b

Please sign in to comment.