Skip to content

Commit 0931857

Browse files
authored
Merge pull request #17 from metaone01/develop
chore: workflows. how many times
2 parents ca007e3 + f888b49 commit 0931857

2 files changed

Lines changed: 4 additions & 4 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 .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj
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 Release
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: 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 .\src\RelativeControl.Avalonia\RelativeControl.Avalonia.csproj
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 Release
24+
run: dotnet build ./src/RelativeControl.Avalonia/RelativeControl.Avalonia.csproj --configuration Release
2525
# 发布到 NuGet.org
2626
- name: Publish Packages to NuGet
2727
run: dotnet nuget push ./src/RelativeControl.Avalonia/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)