Skip to content

Pin github actions versions #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions .github/workflows/publish_pypi_thirdweb_ai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,16 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install Poetry
run: pipx install poetry==1.8.5

- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.10'

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
cache: 'poetry'

- name: Install dependencies
run: poetry install --only main
Expand All @@ -38,8 +35,8 @@ jobs:
run: poetry build

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
user: __token__
password: ${{ secrets.PYPI_API_KEY }}
packages-dir: python/thirdweb-ai/dist/
packages-dir: python/thirdweb-ai/dist/
19 changes: 8 additions & 11 deletions .github/workflows/publish_pypi_thirdweb_mcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,16 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install Poetry
run: pipx install poetry==1.8.5

- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with:
python-version: '3.10'

- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
virtualenvs-in-project: true
cache: 'poetry'

- name: Install dependencies
run: poetry install --only main
Expand All @@ -38,8 +35,8 @@ jobs:
run: poetry build

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
user: __token__
password: ${{ secrets.PYPI_API_KEY }}
packages-dir: python/thirdweb-mcp/dist/
packages-dir: python/thirdweb-mcp/dist/