mirror of
https://github.com/denglihong2007/CRSim
synced 2026-08-01 06:06:13 +08:00
ci: 修复自动构建
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<LangVersion>13.0</LangVersion>
|
||||
<StartupObject>CRSim.App</StartupObject>
|
||||
<ApplicationIcon>Assets\CRSimIcon.ico</ApplicationIcon>
|
||||
<Version>2.1.0.2</Version>
|
||||
<Version>2.1.0.3</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user