Skip to content

Commit

Permalink
ci: pins the uv version to v0.4.22
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabpain authored and ankitrgadiya committed Dec 13, 2024
1 parent 2d74e3c commit c798adf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

# We are pinning uv to lower version to workaround the existing
# bugs in setuptools build system. We can unpin onces the issue
# is resolved in upstream repos.
# Bug: https://github.com/pypa/setuptools/issues/4759
- name: Install uv
uses: astral-sh/setup-uv@v3
uses: astral-sh/setup-uv@v4
with:
version: '0.4.22'

- name: Publish to pypi
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ jobs:
steps:
- name: Checkout Code
uses: actions/[email protected]
with:
token: ${{ secrets.GH_TOKEN }}

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Run semantic-release
run: |
Expand All @@ -21,4 +22,4 @@ jobs:
npm install @semantic-release/exec -D
npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
10 changes: 10 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@
{
"prepareCmd": "scripts/bump-version.sh ${nextRelease.version}"
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "rapyuta_io_sdk_v2/__init__.py"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github"
]
]
}

0 comments on commit c798adf

Please sign in to comment.