Skip to content

Commit ca007e3

Browse files
authored
Merge pull request #16 from metaone01/develop
Workflows Again
2 parents 796be71 + e31deb3 commit ca007e3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish_to_github_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
dotnet-version: 9.0.x
1919
# 恢复依赖项
2020
- name: Restore dependencies
21-
run: dotnet restore
21+
run: dotnet restore .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj
2222
# 构建项目
2323
- name: Build project
24-
run: dotnet build .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj --configuration Releas
24+
run: dotnet build .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj --configuration Release
2525
# 发布到 GitHub Packages
2626
- name: Publish Packages to GitHub Packages
2727
run: dotnet nuget push "./src/RelativeControl.Avalonia/bin/Release/*.nupkg" --source https://nuget.pkg.github.com/metaone01/index.json --api-key ${{ secrets.NUGET_API_KEY }}

.github/workflows/publish_to_nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
dotnet-version: 9.0.x
1919
# 恢复依赖项
2020
- name: Restore dependencies
21-
run: dotnet restore
21+
run: dotnet restore .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj
2222
# 构建项目
2323
- name: Build project
2424
run: dotnet build .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj --configuration Release

0 commit comments

Comments
 (0)