3 Commits

Author SHA1 Message Date
5a487e6ef3 Update .gitea/workflows/publish-nuget.yml 2025-12-31 11:16:09 +00:00
c13832dd61 Update .gitea/workflows/publish-nuget.yml 2025-12-31 11:13:56 +00:00
ecec7dca3e Update s8n-runtime/s8n-runtime.csproj
Some checks failed
publish-nuget / checkout-code (push) Successful in 5s
publish-nuget / build-and-publish (push) Failing after 15s
2025-12-31 10:58:53 +00:00
2 changed files with 12 additions and 1 deletions

View File

@@ -6,6 +6,13 @@ on:
push:
tags:
- 'v*'
workflow_dispatch:
# Optional: you can add inputs here to prompt for values when manually triggering
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
jobs:
checkout-code:
@@ -51,11 +58,14 @@ jobs:
dotnet pack --no-build -c Release -o ./nupkg
- name: Push to Gitea NuGet feed
environment:
GITEA_TOKEN:
from_secret: GITEANUGETTOKEN
env:
GITEA_TOKEN: ${{ secrets.GITEANUGETTOKEN }}
run: |
cd s8n-runtime
dotnet nuget push ./nupkg/*.nupkg \
--api-key "$GITEA_TOKEN" \
--api-key $GITEA_TOKEN \
--source https://code.sharp8n.com/api/packages/Sharp8N/nuget/index.json \
--skip-duplicate

View File

@@ -9,6 +9,7 @@
<!-- Package properties below -->
<IsPackable>true</IsPackable>
<PackageId>Sharp8N.Runtime</PackageId>
<Version>1.0.0</Version>
<Authors>Vitalick S</Authors>