4 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
87d32260d4 Update .gitea/workflows/publish-nuget.yml
Some checks failed
publish-nuget / checkout-code (push) Successful in 17s
publish-nuget / build-and-publish (push) Failing after 45s
2025-12-31 10:35:40 +00:00
2 changed files with 13 additions and 2 deletions

View File

@@ -6,6 +6,13 @@ on:
push: push:
tags: tags:
- 'v*' - '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: jobs:
checkout-code: checkout-code:
@@ -26,7 +33,7 @@ jobs:
build-and-publish: build-and-publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: mcr.microsoft.com/dotnet/sdk:10.0 image: vaibhavgawali/dotnet-node-python-openjdk:latest
needs: checkout-code needs: checkout-code
steps: steps:
- name: Download source code - name: Download source code
@@ -51,11 +58,14 @@ jobs:
dotnet pack --no-build -c Release -o ./nupkg dotnet pack --no-build -c Release -o ./nupkg
- name: Push to Gitea NuGet feed - name: Push to Gitea NuGet feed
environment:
GITEA_TOKEN:
from_secret: GITEANUGETTOKEN
env: env:
GITEA_TOKEN: ${{ secrets.GITEANUGETTOKEN }} GITEA_TOKEN: ${{ secrets.GITEANUGETTOKEN }}
run: | run: |
cd s8n-runtime cd s8n-runtime
dotnet nuget push ./nupkg/*.nupkg \ dotnet nuget push ./nupkg/*.nupkg \
--api-key "$GITEA_TOKEN" \ --api-key $GITEA_TOKEN \
--source https://code.sharp8n.com/api/packages/Sharp8N/nuget/index.json \ --source https://code.sharp8n.com/api/packages/Sharp8N/nuget/index.json \
--skip-duplicate --skip-duplicate

View File

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