auto icrment
Some checks failed
Build NuGet / build (push) Failing after 3m31s

This commit is contained in:
2026-04-06 11:51:34 -04:00
parent c98ef38594
commit 23324cfe7d
2 changed files with 27 additions and 4 deletions

View File

@@ -16,22 +16,36 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
fetch-depth: 0
- name: Restore
run: dotnet restore
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: '5.x'
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0
- name: Build
run: dotnet build -c Release
- name: Pack
run: dotnet pack -c Release -o ./packages
run: |
dotnet pack \
-p:PackageVersion=${{ steps.gitversion.outputs.semVer }} \
-c Release
- name: Publish
run: |
dotnet nuget push ./packages/*.nupkg \
--source http://192.168.1.4:3000/api/packages/Ronnie/nuget/index.json \
dotnet nuget push ./bin/Release/*.nupkg \
--source "http://192.168.1.4:3000/api/packages/Ronnie/nuget/index.json" \
--api-key "${{ secrets.NUGET_KEY }}" \
--skip-duplicate
--allow-insecure-connections true \
--api-key ${{ secrets.NUGET_KEY }}
# name: Gitea Actions Demo
# run-name: ${{ gitea.actor }} is testing out Gitea Actions