From ccc011ad705bac65503e44c3d026877db32f38a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=84=E5=A5=9A=E6=A2=A6=E7=81=B5?= <188181427+shimoranla@users.noreply.github.com> Date: Sat, 23 Nov 2024 22:06:46 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84058c024..027ecb6ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,4 @@ name: "CI" - on: push: branches: @@ -8,12 +7,11 @@ on: tags: - '*.*.*' pull_request: - env: DOTNET_NOLOGO: true - permissions: contents: read + packages: write jobs: build: @@ -46,4 +44,4 @@ jobs: SignClientSecret: ${{ secrets.SIGNCLIENTSECRET }} run: | ./build.ps1 sign - dotnet nuget push .\artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }} + dotnet nuget push .\artifacts\*.nupkg -s https://nuget.pkg.github.com/shimoranla/index.json -k ${{ secrets.GITHUB_TOKEN }}