Running via bash directly

This commit is contained in:
florian committed 2025-11-08 10:38:44 +01:00
1 parent 07ce9d1686
commit 32d2ea24e4
2 files changed
+8 -18

No files matched your search

+4 -9
View File
@@ -15,12 +15,7 @@ jobs:
with: with:
image: python:3.12-slim image: python:3.12-slim
options: -v $WORKSPACE:/app -w /app options: -v $WORKSPACE:/app -w /app
shell: /usr/bin/bash run: "/usr/bin/bash -c 'pip install build twine && python -m build && twine upload --repository-url https://git.gansejunge.com/api/packages/notifier/pypi -u $PACKAGE_UPLOAD_USERNAME -p $PACKAGE_UPLOAD_TOKEN dist/*'"
run: | env:
pip install build twine PACKAGE_UPLOAD_USERNAME: ${{ secrets.PACKAGE_UPLOAD_USERNAME }}
python -m build PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }}
twine upload \
--repository-url https://git.gansejunge.com/api/packages/notifier/pypi \
-u ${{ secrets.PACKAGE_UPLOAD_USERNAME }} \
-p ${{ secrets.PACKAGE_UPLOAD_TOKEN }} \
dist/*
+4 -9
View File
@@ -15,12 +15,7 @@ jobs:
with: with:
image: python:3.12-slim image: python:3.12-slim
options: -v $WORKSPACE:/app -w /app options: -v $WORKSPACE:/app -w /app
shell: /usr/bin/bash run: "/usr/bin/bash -c 'pip install build twine && python -m build && twine upload --repository-url https://git.gansejunge.com/api/packages/notifier/pypi -u $PACKAGE_UPLOAD_USERNAME -p $PACKAGE_UPLOAD_TOKEN dist/*'"
run: | env:
pip install build twine PACKAGE_UPLOAD_USERNAME: ${{ secrets.PACKAGE_UPLOAD_USERNAME }}
python -m build PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }}
twine upload \
--repository-url https://git.gansejunge.com/api/packages/notifier/pypi \
-u ${{ secrets.PACKAGE_UPLOAD_USERNAME }} \
-p ${{ secrets.PACKAGE_UPLOAD_TOKEN }} \
dist/*