diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee0b924..f0de305 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,10 +73,14 @@ jobs: echo "DOTNET_CLI_UI_LANGUAGE=zh-CN" >> $GITHUB_ENV chcp 65001 + - name: Add GitHub Package Source + env: + GHPKG_KEY: ${{ secrets.GHPKG_KEY }} + run: | + dotnet nuget add source --username denglihong2007 --password $env:GHPKG_KEY --store-password-in-clear-text --name github "https://nuget.pkg.github.com/denglihong2007/index.json" - name: Restore and Build run: | - dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/denglihong2007/index.json" dotnet restore dotnet build --configuration Release --no-restore diff --git a/CRSim/CRSim.csproj b/CRSim/CRSim.csproj index 73b7e9c..00be3a5 100644 --- a/CRSim/CRSim.csproj +++ b/CRSim/CRSim.csproj @@ -9,7 +9,7 @@ 13.0 CRSim.App Assets\CRSimIcon.ico - 2.1.0.2 + 2.1.0.3