Skip to content

Commit 7daa9b5

Browse files
committed
move and wrap uploaded artifacts
1 parent 3cf2d44 commit 7daa9b5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/MainDistributionPipeline.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,11 @@ jobs:
4545

4646
- name: List downloaded artifacts
4747
run: |
48-
ls -la downloaded-artifacts/
49-
find downloaded-artifacts -type f | sort
48+
mkdir to-upload; \
49+
for l in `ls downloaded-artifacts`; do \
50+
VER=`echo $l | cut -d '-' -f 2`; \
51+
ARCH=`echo $l| cut -d '-' -f 4`; \
52+
EXT=`ls downloaded-artifacts/$l | cut -b 7-`; \
53+
mv downloaded-artifacts/$l/chsql.$EXT to-upload/chsql.$VER.$ARCH.$EXT; \
54+
done; \
55+
ls -la to-upload

0 commit comments

Comments
 (0)