feat(build): add dry run jobs for packaging
This commit is contained in:
parent
1f06b502d5
commit
1d56530237
|
@ -144,7 +144,7 @@ package-gui-oci:
|
||||||
# language-specific packages
|
# language-specific packages
|
||||||
package-api-twine:
|
package-api-twine:
|
||||||
extends:
|
extends:
|
||||||
- .build-node
|
- .build-python
|
||||||
stage: package
|
stage: package
|
||||||
needs:
|
needs:
|
||||||
- build-api-coverage
|
- build-api-coverage
|
||||||
|
@ -155,6 +155,20 @@ package-api-twine:
|
||||||
- python -m build
|
- python -m build
|
||||||
- twine check dist/*
|
- twine check dist/*
|
||||||
- twine upload dist/*
|
- twine upload dist/*
|
||||||
|
artifacts:
|
||||||
|
expire_in: 7 days
|
||||||
|
paths:
|
||||||
|
- dist/
|
||||||
|
|
||||||
|
package-api-twine-dry:
|
||||||
|
extends:
|
||||||
|
- .build-api-twine
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- cd api
|
||||||
|
- python -m build
|
||||||
|
- twine check dist/*
|
||||||
|
|
||||||
package-gui-npm:
|
package-gui-npm:
|
||||||
extends:
|
extends:
|
||||||
|
@ -167,6 +181,19 @@ package-gui-npm:
|
||||||
script:
|
script:
|
||||||
- cd gui
|
- cd gui
|
||||||
- npm publish
|
- npm publish
|
||||||
|
artifacts:
|
||||||
|
expire_in: 7 days
|
||||||
|
paths:
|
||||||
|
- apextoaster-onnx-web-*.tgz
|
||||||
|
|
||||||
|
package-gui-npm-dry:
|
||||||
|
extends:
|
||||||
|
- .build-gui-npm
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
script:
|
||||||
|
- cd gui
|
||||||
|
- npm pack
|
||||||
|
|
||||||
# commit status
|
# commit status
|
||||||
github-pending:
|
github-pending:
|
||||||
|
|
Loading…
Reference in New Issue