From b8035e18e9061289e742b0e56f755725e2def8e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Kro=CC=88ner?= Date: Fri, 29 Dec 2023 23:11:04 +0100 Subject: [PATCH] ci: Install dotnet before running gitversion --- .github/workflows/publish_tool.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_tool.yml b/.github/workflows/publish_tool.yml index e084c17..8b38d96 100644 --- a/.github/workflows/publish_tool.yml +++ b/.github/workflows/publish_tool.yml @@ -10,10 +10,16 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup .NET Core + uses: actions/setup-dotnet@v3 + with: + global-json-file: global.json + - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.10.2 with: @@ -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 }}