From 1d5653023797b118ea413d4dc8d6b8909fcb6c38 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sat, 11 Feb 2023 21:17:19 -0600 Subject: [PATCH] feat(build): add dry run jobs for packaging --- .gitlab-ci.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9415c682..1e2a5d47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -144,7 +144,7 @@ package-gui-oci: # language-specific packages package-api-twine: extends: - - .build-node + - .build-python stage: package needs: - build-api-coverage @@ -155,6 +155,20 @@ package-api-twine: - python -m build - twine check 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: extends: @@ -167,6 +181,19 @@ package-gui-npm: script: - cd gui - 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 github-pending: