Skip to content

Commit 07be216

Browse files
authored
Merge pull request #13 from wey-gu/ci_fix
remove duplicated release action
2 parents 421e458 + 2da74f1 commit 07be216

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -76,52 +76,3 @@ jobs:
7676
# trusted-publisher no need for password
7777
# with:
7878
# password: ${{ secrets.PYPI_API_TOKEN }}
79-
80-
create-github-release:
81-
runs-on: ubuntu-latest
82-
needs: release
83-
if: startsWith(github.ref, 'refs/tags/v')
84-
permissions:
85-
contents: write
86-
87-
steps:
88-
- uses: actions/checkout@v4
89-
90-
- name: Extract version from tag
91-
id: extract_version
92-
run: |
93-
VERSION=${GITHUB_REF#refs/tags/v}
94-
echo "version=$VERSION" >> $GITHUB_OUTPUT
95-
96-
- name: Set up Python
97-
uses: actions/setup-python@v5
98-
with:
99-
python-version: "3.11"
100-
101-
- name: Build package for release assets
102-
run: |
103-
python -m pip install --upgrade pip build
104-
python -m build
105-
106-
- name: Create GitHub Release
107-
uses: softprops/action-gh-release@v1
108-
with:
109-
files: |
110-
dist/*.whl
111-
dist/*.tar.gz
112-
generate_release_notes: true
113-
draft: false
114-
prerelease: ${{ contains(steps.extract_version.outputs.version, 'rc') || contains(steps.extract_version.outputs.version, 'beta') || contains(steps.extract_version.outputs.version, 'alpha') }}
115-
body: |
116-
## Changes in v${{ steps.extract_version.outputs.version }}
117-
118-
See the full changelog for details.
119-
120-
## Installation
121-
122-
```bash
123-
pip install py-pglite==${{ steps.extract_version.outputs.version }}
124-
```
125-
126-
## PyPI Release
127-
📦 [View on PyPI](https://pypi.org/project/py-pglite/${{ steps.extract_version.outputs.version }}/)

0 commit comments

Comments
 (0)