Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ca0ded172 | |||
| 881c8def09 | |||
| 75179f6255 | |||
| 0b294905c7 | |||
| 5a487e6ef3 | |||
| c13832dd61 | |||
| ecec7dca3e |
@@ -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:
|
||||||
|
# notes:
|
||||||
|
# description: 'Notes'
|
||||||
|
# required: true
|
||||||
|
# default: 'Just CI Build'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout-code:
|
checkout-code:
|
||||||
@@ -51,11 +58,9 @@ 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
|
||||||
env:
|
|
||||||
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 ${{ secrets.GITEANUGETTOKEN }} \
|
||||||
--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
|
||||||
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/).
|
||||||
@@ -9,17 +9,19 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- 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.10</Version>
|
||||||
<Authors>Vitalick S</Authors>
|
<Authors>Vitalick S</Authors>
|
||||||
<Company>Sharp8N</Company>
|
<Company>Sharp8N</Company>
|
||||||
<Description>Sharp8N runtime library, that allows run s8n workflows</Description>
|
<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>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
|
<None Include="README.md" Pack="true" PackagePath="\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Reference in New Issue
Block a user