From 41258d3fe90fbaf8dd51cb63a4d85a67eaa24ea4 Mon Sep 17 00:00:00 2001
From: denglihong2007 <2639367181@qq.com>
Date: Fri, 4 Apr 2025 16:03:11 +0800
Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=8A=A8?=
=?UTF-8?q?=E6=9E=84=E5=BB=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/workflows/release.yml | 6 +++++-
CRSim/CRSim.csproj | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
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