ci: remove useless command.

This commit is contained in:
Zhang Dian
2025-07-11 14:21:23 +08:00
parent 5aad0fbd0d
commit 139176d64f
4 changed files with 23 additions and 30 deletions

View File

@@ -49,23 +49,23 @@ jobs:
uses: actions/checkout@v4.1.1
- name: Pack Ursa
if: ${{ inputs.Ursa == true }}
if: ${{ inputs.Ursa }}
run: dotnet pack src/Ursa -o nugets
- name: Pack Ursa.Themes.Semi
if: ${{ inputs.Ursa_Themes_Semi == true }}
if: ${{ inputs.Ursa_Themes_Semi }}
run: dotnet pack src/Ursa.Themes.Semi -o nugets
- name: Pack Prism Extension
if: ${{ inputs.PrismExtension == true }}
if: ${{ inputs.PrismExtension }}
run: dotnet pack src/Ursa.PrismExtension -o nugets
- name: Pack ReactiveUI Extension
if: ${{ inputs.ReactiveUIExtension == true }}
if: ${{ inputs.ReactiveUIExtension }}
run: dotnet pack src/Ursa.ReactiveUIExtension -o nugets
- name: Upload to NuGet
if: ${{ inputs.Upload_to_NuGet == true }}
if: ${{ inputs.Upload_to_NuGet }}
run: dotnet nuget push "nugets/*.nupkg" --api-key ${{ secrets.NUGET_ORG_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
- name: Upload a Build Artifact