diff --git a/.github/workflows/dotnet-publish-nuget.yml b/.github/workflows/dotnet-publish-nuget.yml deleted file mode 100644 index 268700c60ad3..000000000000 --- a/.github/workflows/dotnet-publish-nuget.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: '[AutoGen nuget] Publish nuget package' - -on: - workflow_call: - inputs: - path: - required: true - type: string - version-prefix: - required: true - type: string - version-suffix: - required: true - type: string - secrets: - NUGET_API_KEY: - required: true - - # -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.0.x - - name: Publish package - run: | - cd dotnet/src/${{ inputs.path }} - dotnet pack -o packages /p:PackageVersion=${{ inputs.version-prefix }}-alpha.${{ inputs.version-suffix }} - dotnet nuget push $GITHUB_WORKSPACE/dotnet/src/${{ inputs.path }}/packages/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json \ No newline at end of file