Running via bash directly
This commit is contained in:
parent
07ce9d1686
commit
32d2ea24e4
@ -15,12 +15,7 @@ jobs:
|
||||
with:
|
||||
image: python:3.12-slim
|
||||
options: -v $WORKSPACE:/app -w /app
|
||||
shell: /usr/bin/bash
|
||||
run: |
|
||||
pip install build twine
|
||||
python -m build
|
||||
twine upload \
|
||||
--repository-url https://git.gansejunge.com/api/packages/notifier/pypi \
|
||||
-u ${{ secrets.PACKAGE_UPLOAD_USERNAME }} \
|
||||
-p ${{ secrets.PACKAGE_UPLOAD_TOKEN }} \
|
||||
dist/*
|
||||
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/*'"
|
||||
env:
|
||||
PACKAGE_UPLOAD_USERNAME: ${{ secrets.PACKAGE_UPLOAD_USERNAME }}
|
||||
PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }}
|
||||
@ -15,12 +15,7 @@ jobs:
|
||||
with:
|
||||
image: python:3.12-slim
|
||||
options: -v $WORKSPACE:/app -w /app
|
||||
shell: /usr/bin/bash
|
||||
run: |
|
||||
pip install build twine
|
||||
python -m build
|
||||
twine upload \
|
||||
--repository-url https://git.gansejunge.com/api/packages/notifier/pypi \
|
||||
-u ${{ secrets.PACKAGE_UPLOAD_USERNAME }} \
|
||||
-p ${{ secrets.PACKAGE_UPLOAD_TOKEN }} \
|
||||
dist/*
|
||||
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/*'"
|
||||
env:
|
||||
PACKAGE_UPLOAD_USERNAME: ${{ secrets.PACKAGE_UPLOAD_USERNAME }}
|
||||
PACKAGE_UPLOAD_TOKEN: ${{ secrets.PACKAGE_UPLOAD_TOKEN }}
|
||||
Loading…
x
Reference in New Issue
Block a user