From b9f18118e026fb5f1d5629580303e46e791d8d99 Mon Sep 17 00:00:00 2001 From: henrikvindshoj Date: Tue, 29 Oct 2024 06:17:13 +0100 Subject: [PATCH] UF-2015 fix workflow --- .github/workflows/build-and-publish-nuget.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish-nuget.yml b/.github/workflows/build-and-publish-nuget.yml index 44a935a..3a43569 100644 --- a/.github/workflows/build-and-publish-nuget.yml +++ b/.github/workflows/build-and-publish-nuget.yml @@ -11,7 +11,7 @@ permissions: packages: write env: - VERSIONNUMBER: 9.12.0 + VERSIONNUMBER: 1.0.0 jobs: Build-and-publish: @@ -33,7 +33,7 @@ jobs: run: echo "BUILDNUMBER=$((($(date +%s) - $(date -d '2024-01-01' +%s)) / 3600 % 65535))" >> $GITHUB_ENV - name: Pack - run: dotnet pack --configuration Release /p:Version=${{ env.VERSIONNUMBER }}.${{ env.BUILDNUMBER }} + run: dotnet pack ./**/*.csproj --configuration Release /p:Version=${{ env.VERSIONNUMBER }}.${{ env.BUILDNUMBER }} - name: Push run: dotnet nuget push ./**/*.nupkg --skip-duplicate --source https://nuget.pkg.github.com/vippsas/index.json --api-key ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file