Save source in action secret
All checks were successful
/ build (push) Successful in 2m8s

This commit is contained in:
2025-04-09 17:53:27 +12:00
parent ee886622ae
commit ef0c489d35
2 changed files with 3 additions and 2 deletions

View File

@@ -31,5 +31,5 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: cssudii-sodium-build-${{ env.datetime }}
name: CSSUDII.Sodium_${{ env.datetime }}
path: ${{ github.workspace }}

View File

@@ -30,7 +30,8 @@ jobs:
- name: Push
run: |
dotnet nuget push CSSUDII.Sodium.Interop.${VERSION}.nupkg \
--source https://git.119.224.65.18.sslip.io/api/packages/CSSUDII/nuget/index.json \
--source ${NUGET_SOURCE} \
--api-key ${NUGET_TOKEN}
env:
NUGET_SOURCE: ${{ secrets.NUGET_SOURCE }}
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}