Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ca0ded172 | |||
| 881c8def09 | |||
| 75179f6255 | |||
| 0b294905c7 |
@@ -8,11 +8,11 @@ on:
|
||||
- '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'
|
||||
# inputs:
|
||||
# notes:
|
||||
# description: 'Notes'
|
||||
# required: true
|
||||
# default: 'Just CI Build'
|
||||
|
||||
jobs:
|
||||
checkout-code:
|
||||
@@ -58,14 +58,9 @@ 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 ${{ secrets.GITEANUGETTOKEN }} \
|
||||
--source https://code.sharp8n.com/api/packages/Sharp8N/nuget/index.json \
|
||||
--skip-duplicate
|
||||
9
s8n-runtime/README.md
Normal file
9
s8n-runtime/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
### Set up this registry from the command line:
|
||||
```
|
||||
dotnet nuget add source --name Sharp8N --username your_username --password your_token https://code.sharp8n.com/api/packages/Sharp8N/nuget/index.json
|
||||
```
|
||||
### To install the package using NuGet, run the following command:
|
||||
```
|
||||
dotnet add package --source Sharp8N --version 1.0.10 Sharp8N.Runtime
|
||||
```
|
||||
For more information on the NuGet registry, see the [documentation](https://docs.gitea.com/usage/packages/nuget/).
|
||||
@@ -11,16 +11,17 @@
|
||||
<!-- Package properties below -->
|
||||
<IsPackable>true</IsPackable>
|
||||
<PackageId>Sharp8N.Runtime</PackageId>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.10</Version>
|
||||
<Authors>Vitalick S</Authors>
|
||||
<Company>Sharp8N</Company>
|
||||
<Description>Sharp8N runtime library, that allows run s8n workflows</Description>
|
||||
<RepositoryUrl>code.sharp8n.com</RepositoryUrl>
|
||||
<RepositoryUrl>Sharp8N/Sharp8N.Runtime</RepositoryUrl>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
|
||||
<None Include="README.md" Pack="true" PackagePath="\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user