From facf8e9100f68054a33eda5e027af968772dac68 Mon Sep 17 00:00:00 2001 From: MIRIMIRIM <59959583+MIRIMIRIM@users.noreply.github.com> Date: Sun, 12 Jan 2025 18:26:43 +0800 Subject: [PATCH] update gha --- .github/workflows/dotnet-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dotnet-ci.yml b/.github/workflows/dotnet-ci.yml index b4cd527..79e0e14 100644 --- a/.github/workflows/dotnet-ci.yml +++ b/.github/workflows/dotnet-ci.yml @@ -22,6 +22,11 @@ jobs: with: dotnet-version: 8.x + - name: Prepare + run: | + dotnet nuget add source --username sun128764 --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/MIRIMIRIM/index.json" + dotnet restore + - name: Publish the application run: dotnet publish OKP.Core --configuration ${{ matrix.configuration }} --runtime ${{ matrix.runtime-identifier }} /p:PublishAot=false