Updated workflow

This commit is contained in:
2026-06-17 17:01:04 +01:00
parent c681cef2b1
commit 0de201bbed
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -11,6 +11,7 @@ jobs:
permissions:
contents: write
packages: write
id-token: write
steps:
- uses: actions/checkout@v4
@@ -35,6 +36,18 @@ jobs:
-p:Version=${{ steps.version.outputs.VERSION }}
--output ./nupkg
- name: NuGet login (OIDC trusted publishing)
uses: NuGet/login@v1
id: nuget-login
with:
user: ${{ secrets.NUGET_USER }}
- name: Push to NuGet.org
run: >
dotnet nuget push ./nupkg/*.nupkg
--api-key ${{ steps.nuget-login.outputs.NUGET_API_KEY }}
--source https://api.nuget.org/v3/index.json
- name: Push to GitHub Packages
run: >
dotnet nuget push ./nupkg/*.nupkg
+1 -1
View File
@@ -24,7 +24,7 @@ Dev-safe connections (localhost, 127.0.0.1, integrated security) are automatical
Requires [.NET 10 SDK](https://dotnet.microsoft.com/download) or later.
```bash
dotnet tool install --global SecretSecurity --add-source https://nuget.pkg.github.com/omegaleo/index.json
dotnet tool install --global SecretSecurity
```
## Usage