Skip to content

Commit 3d946ad

Browse files
committed
fix: fix ci workflow name and pupi repository-url
1 parent e10f950 commit 3d946ad

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Auto Publish to PyPI and GitHub Release
1+
name: Auto CI and Build Tools
22

33
on:
44
pull_request:

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
jobs:
99
update-version-and-publish:
1010
runs-on: ubuntu-latest
11+
environment:
12+
name: pypi
13+
url: hhttps://pypi.org/p/parse_llm_code
14+
permissions:
15+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1116

1217
steps:
1318
- name: Checkout code
@@ -31,7 +36,7 @@ jobs:
3136
- name: Publish to PyPI
3237
uses: pypa/gh-action-pypi-publish@v1.8.14
3338
with:
34-
repository-url: https://pypi.org/p/parse_llm_code/
39+
repository-url: https://test.pypi.org/legacy/
3540
packages-dir: dist/
3641
password: ${{ secrets.PYPI_API_TOKEN }}
3742

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="parse_llm_code",
8-
version="0.1.21",
8+
version="0.1.22",
99
author="aboutmydreams",
1010
author_email="aboutmydreams@163.com",
1111
description="a lib to parse llm answer to code",

0 commit comments

Comments
 (0)