Skip to content

Commit

Permalink
chore(python): fix github action support
Browse files Browse the repository at this point in the history
  • Loading branch information
ISAAC-XXYYZZ committed Dec 10, 2024
1 parent a6988e3 commit d260f76
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/upload-python-sdk-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,13 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Cache pip dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Build release distributions
working-directory: sdk/python
run: |
python -m pip install --upgrade pip build
python -m build
Expand All @@ -39,7 +33,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/
path: sdk/python/dist/

pypi-publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d260f76

Please sign in to comment.