Skip to content

Commit

Permalink
Merge pull request #24 from vippsas/UF-2015-Fix-Workflow
Browse files Browse the repository at this point in the history
UF-2015 fix workflow
  • Loading branch information
henrikvindshoj authored Oct 29, 2024
2 parents b139bfd + b9f1811 commit 8ea709d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
packages: write

env:
VERSIONNUMBER: 9.12.0
VERSIONNUMBER: 1.0.0

jobs:
Build-and-publish:
Expand All @@ -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 }}

0 comments on commit 8ea709d

Please sign in to comment.