Compare commits
2 Commits
9fc8c08479
...
2028b33572
| Author | SHA1 | Date | |
|---|---|---|---|
|
2028b33572
|
|||
|
33fcbd465a
|
@@ -4,6 +4,7 @@ on:
|
||||
branches:
|
||||
- master # publish release on master
|
||||
- develop # publish snapshot on develop
|
||||
- feat/* # test
|
||||
workflow_dispatch:
|
||||
# allow manual trigger
|
||||
env:
|
||||
@@ -37,8 +38,17 @@ jobs:
|
||||
- name: Build wheel
|
||||
run: |
|
||||
python -m build
|
||||
# upload to forgejo artifacts
|
||||
- name: upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Python distributes
|
||||
path: dist/*
|
||||
if-no-files-found: error
|
||||
retention-days: 7
|
||||
# publish
|
||||
- run: |
|
||||
- name: publish to pulp pypi
|
||||
run: |
|
||||
twine upload --repository-url https://pkg.cleverthis.io/pypi/clevermicro/simple \
|
||||
--username $CI_REGISTRY_USER \
|
||||
--password $CI_REGISTRY_PASSWORD \
|
||||
|
||||
Reference in New Issue
Block a user