Skip to content

Commit 8207f4d

Browse files
committed
[Breaking Change] (config) Modify to upload directory to artifact and download the directory.
1 parent b82a5d3 commit 8207f4d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci-cd-master.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -481,26 +481,23 @@ jobs:
481481
- name: Compile and package the code as Python package formatter
482482
run: python3 setup.py sdist bdist_wheel
483483

484-
- name: Upload Python package files
484+
- name: Upload directory which saves Python package files
485485
uses: actions/upload-artifact@v3
486486
with:
487487
name: MultiRunnable-Python-Package
488-
path: ./dist/MultiRunnable-*
488+
path: ./dist/
489489
if-no-files-found: error
490490

491491

492492
push_to_pypi:
493493
needs: build_package
494494
runs-on: ubuntu-latest
495495
steps:
496-
- name: Checkout
497-
uses: actions/checkout@v2
498-
499-
- name: Download Python package files
496+
- name: Download directory which saves Python package files
500497
uses: actions/download-artifact@v3
501498
with:
502499
name: MultiRunnable-Python-Package
503-
path: ./dist/MultiRunnable-*
500+
path: ./dist/
504501
if-no-files-found: error
505502

506503
- name: Setup Python 3.10 in Ubuntu OS

0 commit comments

Comments
 (0)