Skip to content

Commit a97b6c8

Browse files
committed
尝试修复构建
1 parent 11845e3 commit a97b6c8

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/NuGet-tag-publish-MediaConverters.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@ jobs:
2323
run: dotnet build --configuration Release MediaConverters.sln
2424

2525
- name: Pack MediaConverters.Tool.ContextNuGet
26-
run: dotnet pack --no-build true --configuration Release MediaConverters.Tool.ContextNuGet\MediaConverters.Tool.ContextNuGet.csproj
26+
run: dotnet pack .\MediaConverters.Tool.ContextNuGet\MediaConverters.Tool.ContextNuGet.csproj --no-build --configuration Release
2727

2828
- name: Pack DotNetCampus.MediaConverter.SkiaWmfRenderer
29-
run: dotnet pack --no-build true --configuration Release SkiaWmfRenderer\src\SkiaWmfRenderer\SkiaWmfRenderer.csproj
29+
run: dotnet pack .\SkiaWmfRenderer\src\SkiaWmfRenderer\SkiaWmfRenderer.csproj --no-build --configuration Release
3030

3131
- name: Publish and Pack win-x86
3232
run: |
3333
dotnet publish -c Release -r win-x86 MediaConverters.Tool\MediaConverters.Tool.csproj
34-
dotnet pack --configuration Release /p:RuntimeIdentifier=win-x86 MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj
34+
dotnet pack .\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj --configuration Release /p:RuntimeIdentifier=win-x86
3535
3636
- name: Publish and Pack win-x64
3737
run: |
3838
dotnet publish -c Release -r win-x64 MediaConverters.Tool\MediaConverters.Tool.csproj
39-
dotnet pack --configuration Release /p:RuntimeIdentifier=win-x64 MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj
39+
dotnet pack .\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj --configuration Release /p:RuntimeIdentifier=win-x64
4040
4141
- name: Push generated package to NuGet
4242
run: |
4343
dotnet nuget push .\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
44-
dotnet nuget push .\bin\Release\*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
44+
# dotnet nuget push .\bin\Release\*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
4545

4646
PackOnWindowsArm64:
4747

@@ -62,12 +62,12 @@ jobs:
6262
- name: Publish and Pack win-arm64
6363
run: |
6464
dotnet publish -c Release -r win-arm64 MediaConverters.Tool\MediaConverters.Tool.csproj
65-
dotnet pack --configuration Release /p:RuntimeIdentifier=win-arm64 MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj
65+
dotnet pack .\MediaConverters.Tool.RuntimeNuGet\MediaConverters.Tool.RuntimeNuGet.csproj --configuration Release /p:RuntimeIdentifier=win-arm64
6666
6767
- name: Push generated package to NuGet
6868
run: |
6969
dotnet nuget push .\bin\Release\*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
70-
dotnet nuget push .\bin\Release\*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
70+
# dotnet nuget push .\bin\Release\*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
7171

7272
PackOnLinuxX64:
7373

@@ -129,7 +129,7 @@ jobs:
129129
- name: Push generated package to NuGet
130130
run: |
131131
dotnet nuget push ./bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
132-
dotnet nuget push ./bin/Release/*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
132+
# dotnet nuget push ./bin/Release/*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
133133

134134
PackOnLinuxArm64:
135135

@@ -191,4 +191,4 @@ jobs:
191191
- name: Push generated package to NuGet
192192
run: |
193193
dotnet nuget push ./bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NugetKey }}
194-
dotnet nuget push ./bin/Release/*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000
194+
# dotnet nuget push ./bin/Release/*.nupkg -s https://nuget.pkg.github.com/${{ github.repository_owner }} --api-key ${{ secrets.GITHUB_TOKEN }} --timeout 3000

0 commit comments

Comments
 (0)