From e06f17c4f8bc2a438c19d585396d5efc05e2049a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Wien=C3=B6bst?= Date: Wed, 26 Aug 2026 13:13:54 +0200 Subject: [PATCH 1/2] chore: switch to pypi --- .github/workflows/publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9e41da5..5a29f52 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: publish-testpypi +name: publish-pypi on: release: @@ -96,7 +96,7 @@ jobs: path: packages/${{ steps.meta.outputs.package }}/dist/ publish-pypi: - name: Publish to TestPyPI + name: Publish to PyPI runs-on: ubuntu-latest needs: build environment: @@ -110,9 +110,8 @@ jobs: name: dist path: dist/ - - name: Publish package distributions to TestPyPI + - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: - repository-url: https://test.pypi.org/legacy/ skip-existing: false packages-dir: dist/ From 59f9c65d6a8db78a2a84d19bf0736b39e0f80036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Wien=C3=B6bst?= Date: Wed, 26 Aug 2026 13:18:08 +0200 Subject: [PATCH 2/2] fix: avoid hardcoding the gen package --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5a29f52..80ac0b7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -69,6 +69,8 @@ jobs: needs: sync-changelog permissions: contents: read + outputs: + package: ${{ steps.meta.outputs.package }} steps: - name: Get package from tag id: meta @@ -100,7 +102,7 @@ jobs: runs-on: ubuntu-latest needs: build environment: - name: pypi:sap-ai-sdk-gen + name: pypi:sap-ai-sdk-${{ needs.build.outputs.package }} permissions: id-token: write steps: