Skip to content

Commit b42114a

Browse files
authored
Merge pull request #34 from unoplatform/dev/jela/sign2
ci: Adjust publish
2 parents 14f2170 + da81efc commit b42114a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/nuget-uno-publish/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ runs:
2222

2323
- name: Uno NuGet Feed Push
2424
shell: pwsh
25+
env:
26+
FEED_ENDPOINT: https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json
27+
VSS_NUGET_EXTERNAL_FEED_ENDPOINTS: >-
28+
{"endpointCredentials":[{"endpoint":"https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json","username":"az","password":"${{ inputs.token }}"}]}
2529
run: |
26-
dotnet nuget add source https://pkgs.dev.azure.com/uno-platform/1dd81cbd-cb35-41de-a570-b0df3571a196/_packaging/unoplatformdev/nuget/v3/index.json -n "dev" --username az --password "${{ inputs.token }}" --store-password-in-clear-text
27-
dotnet nuget push --api-key AZ -s dev artifacts/*.nupkg
30+
dotnet nuget push artifacts/*.nupkg --source $env:FEED_ENDPOINT --api-key az --skip-duplicate

0 commit comments

Comments
 (0)