Skip to content

Commit 5dba1c7

Browse files
committed
Remove GitHub Packages publishing due to persistent 404 errors
- GitHub Packages publishing consistently failing with 404 errors - PyPI publishing is working perfectly and is the standard for Python packages - Users can install from PyPI: pip install dist-gcs-pdf-processing - Simplified release notes to focus on PyPI installation - GitHub releases and PyPI publishing continue to work correctly
1 parent a36d15a commit 5dba1c7

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,9 @@ jobs:
4141
user: __token__
4242
password: ${{ secrets.PYPI_API_TOKEN }}
4343

44-
- name: Publish to GitHub Packages
45-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
46-
run: |
47-
python -m pip install --upgrade pip
48-
pip install twine
49-
# Debug information
50-
echo "Repository owner: ${{ github.repository_owner }}"
51-
echo "Repository name: ${{ github.event.repository.name }}"
52-
echo "Package files:"
53-
ls -la dist/
54-
# Publish to GitHub Packages
55-
twine upload --repository-url https://pypi.pkg.github.com/${{ github.repository_owner }}/${{ github.event.repository.name }}/ dist/* --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }}
44+
# GitHub Packages publishing removed due to 404 errors
45+
# PyPI publishing above is working perfectly
46+
# Users can install from: pip install dist-gcs-pdf-processing
5647

5748
- name: Create GitHub Release
5849
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
@@ -74,19 +65,12 @@ jobs:
7465
7566
## 📦 Installation
7667
77-
**From PyPI (recommended):**
7868
```bash
7969
pip install dist-gcs-pdf-processing==${{ github.ref_name }}
8070
```
8171
82-
**From GitHub Packages:**
83-
```bash
84-
pip install dist-gcs-pdf-processing==${{ github.ref_name }} --index-url https://pypi.pkg.github.com/${{ github.repository_owner }}/
85-
```
86-
8772
## 🔗 Links
8873
- PyPI: https://pypi.org/project/dist-gcs-pdf-processing/${{ github.ref_name }}/
89-
- GitHub Packages: https://github.com/${{ github.repository_owner }}/dist-gcs-pdf-processing/packages
9074
- Documentation: See README.md
9175
files: |
9276
dist/*.whl

0 commit comments

Comments
 (0)