You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2023/08/06 15:47:36 UTC
[libcloud] 02/02: Use build module in the dev release artifacts github workflow.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 9518885749c4f9914437930eebe10d1af740ce36
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Aug 6 17:46:37 2023 +0200
Use build module in the dev release artifacts github workflow.
---
.github/workflows/publish_dev_artifact.yml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/publish_dev_artifact.yml b/.github/workflows/publish_dev_artifact.yml
index ab741250a..f454b6ccf 100644
--- a/.github/workflows/publish_dev_artifact.yml
+++ b/.github/workflows/publish_dev_artifact.yml
@@ -40,12 +40,16 @@ jobs:
- name: Install Dependencies
run: |
pip install --upgrade pip
- pip install wheel
+ pip install build
- name: Create Dev Artifacts
run: |
- python setup.py sdist --formats=bztar,zip,gztar
- python setup.py bdist_wheel
+ python -m build
+ ls -la dist
+
+ # Ensure artifacts have been created
+ ls -la dist | grep .tar.gz
+ ls -la dist | grep .whl
- name: Store dev artifacts
uses: actions/upload-artifact@v3