Running via bash directly
This commit is contained in:
parent
07ce9d1686
commit
32d2ea24e4
@ -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/*
|
|
||||||
@ -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/*
|
|
||||||
Loading…
x
Reference in New Issue
Block a user