From 691bb9bb8ba47360c6b696336bc67015549a558d Mon Sep 17 00:00:00 2001 From: Dominik Przybyl Date: Mon, 6 May 2024 16:45:22 +0200 Subject: [PATCH] minor --- .github/workflows/release.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 29d9916..62945aa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -72,26 +72,25 @@ jobs: - name: Upload artifacts run: | cd ${{github.workspace}}/sdk - ls -la gh release upload ${{github.ref_name}} *.tar.gz env: GITHUB_TOKEN: ${{ github.TOKEN }} shell: bash - - name: Publish package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: ${{ env.PYPI_USERNAME }} - password: ${{ env.PYPI_PASSWORD }} - packages-dir: ${{github.workspace}}/sdk/python/bin/dist + - name: publish nuget package + run: | + dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg -s ${{ env.NUGET_FEED_URL }} -k ${{ env.NUGET_PUBLISH_KEY }} + echo "done publishing packages" - name: Publish NPM package uses: JS-DevTools/npm-publish@v3 with: access: "public" token: ${{ env.NPM_TOKEN }} package: ${{github.workspace}}/sdk/nodejs/bin/package.json - - name: publish nuget package - run: | - dotnet nuget push ${{github.workspace}}/sdk/dotnet/bin/Debug/*.nupkg -s ${{ env.NUGET_FEED_URL }} -k ${{ env.NUGET_PUBLISH_KEY }} - echo "done publishing packages" + - name: Publish package to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: ${{ env.PYPI_USERNAME }} + password: ${{ env.PYPI_PASSWORD }} + packages-dir: ${{github.workspace}}/sdk/python/bin/dist strategy: fail-fast: true