Skip to content

Commit bfee6c9

Browse files
authored
fix: Fix deployment for provider package (#77)
1 parent 5d217ac commit bfee6c9

File tree

2 files changed

+3
-61
lines changed

2 files changed

+3
-61
lines changed

.github/workflows/manual-publish.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
ssm_parameter_pairs: '/production/common/releasing/pypi/token = PYPI_AUTH_TOKEN'
8484

8585
- name: Publish to PyPI
86-
uses: pypa/gh-action-pypi-publish@release/v1
86+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
8787
with:
8888
password: ${{ env.PYPI_AUTH_TOKEN }}
8989
packages-dir: packages/sdk/server-ai/dist/
@@ -124,11 +124,7 @@ jobs:
124124
ssm_parameter_pairs: '/production/common/releasing/pypi/token = PYPI_AUTH_TOKEN'
125125

126126
- name: Publish to PyPI
127-
# Pin the action to a full 40-character commit SHA for security.
128-
# Release v1 commit SHA as of 2024-06-14:
129-
# https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
130-
# Commit SHA: 19af04270e8d898ea07a523bb392fa7fe98df87c
131-
uses: pypa/gh-action-pypi-publish@19af04270e8d898ea07a523bb392fa7fe98df87c
127+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
132128
with:
133129
password: ${{ env.PYPI_AUTH_TOKEN }}
134130
packages-dir: packages/ai-providers/server-ai-langchain/dist/
@@ -167,8 +163,7 @@ jobs:
167163

168164
- name: Publish to PyPI
169165
if: ${{ inputs.dry_run != true }}
170-
# https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13 - pinned to commit on 2024-04-13
171-
uses: pypa/gh-action-pypi-publish@3cc2c35166dfc1e5ea3bb0491ffdeedcaa50d7c
166+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
172167
with:
173168
password: ${{ env.PYPI_AUTH_TOKEN }}
174169
packages-dir: ${{ inputs.workspace_path }}/dist/

0 commit comments

Comments
 (0)