Skip to content

Commit 2538984

Browse files
authored
v1.3.0
2 parents a0ea2ae + 8fc20e4 commit 2538984

File tree

2 files changed

+25
-22
lines changed

2 files changed

+25
-22
lines changed

.github/workflows/ArtifactsUpload.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ jobs:
236236
echo "----------------------------------------"
237237
238238
echo -n "Does tarball exist ... "
239-
if [[ ! -f __upload_artifact__.tar ]]; then
239+
if [[ ! -f __pyTooling_upload_artifact__.tar ]]; then
240240
echo -e "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}"
241-
echo -e "${ANSI_LIGHT_RED}Artifact doesn't contain a tar file named '__upload_artifact__.tar'.${ANSI_NOCOLOR}"
241+
echo -e "${ANSI_LIGHT_RED}Artifact doesn't contain a tar file named '__pyTooling_upload_artifact__.tar'.${ANSI_NOCOLOR}"
242242
exit 1
243243
else
244244
echo -e "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}"
@@ -253,7 +253,7 @@ jobs:
253253
ANSI_NOCOLOR="\e[0m"
254254
255255
echo -n "Extracting tarball ... "
256-
tar -xf __upload_artifact__.tar
256+
tar -xf __pyTooling_upload_artifact__.tar
257257
if [[ $? -ne 0 ]]; then
258258
echo -e "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}"
259259
else
@@ -475,8 +475,8 @@ jobs:
475475

476476
- name: 🔎 Inspect extracted tarball
477477
run: |
478-
tar -xf "__upload_artifact__.tar"
479-
rm __upload_artifact__.tar
478+
tar -xf "__pyTooling_upload_artifact__.tar"
479+
rm __pyTooling_upload_artifact__.tar
480480
tree .
481481
482482
Verify-2:
@@ -493,8 +493,8 @@ jobs:
493493

494494
- name: 🔎 Inspect extracted tarball
495495
run: |
496-
tar -xf "__upload_artifact__.tar"
497-
rm __upload_artifact__.tar
496+
tar -xf "__pyTooling_upload_artifact__.tar"
497+
rm __pyTooling_upload_artifact__.tar
498498
tree .
499499
500500
Verify-3:
@@ -511,8 +511,8 @@ jobs:
511511

512512
- name: 🔎 Inspect extracted tarball
513513
run: |
514-
tar -xf "__upload_artifact__.tar"
515-
rm __upload_artifact__.tar
514+
tar -xf "__pyTooling_upload_artifact__.tar"
515+
rm __pyTooling_upload_artifact__.tar
516516
tree .
517517
518518
Verify-4:
@@ -529,8 +529,8 @@ jobs:
529529

530530
- name: 🔎 Inspect extracted tarball
531531
run: |
532-
tar -xf "__upload_artifact__.tar"
533-
rm __upload_artifact__.tar
532+
tar -xf "__pyTooling_upload_artifact__.tar"
533+
rm __pyTooling_upload_artifact__.tar
534534
tree .
535535
536536
Verify-5:
@@ -547,8 +547,8 @@ jobs:
547547

548548
- name: 🔎 Inspect extracted tarball
549549
run: |
550-
tar -xf "__upload_artifact__.tar"
551-
rm __upload_artifact__.tar
550+
tar -xf "__pyTooling_upload_artifact__.tar"
551+
rm __pyTooling_upload_artifact__.tar
552552
tree .
553553
554554
Verify-6:
@@ -565,8 +565,8 @@ jobs:
565565

566566
- name: 🔎 Inspect extracted tarball
567567
run: |
568-
tar -xf "__upload_artifact__.tar"
569-
rm __upload_artifact__.tar
568+
tar -xf "__pyTooling_upload_artifact__.tar"
569+
rm __pyTooling_upload_artifact__.tar
570570
tree .
571571
572572
Verify-7:
@@ -583,8 +583,8 @@ jobs:
583583

584584
- name: 🔎 Inspect extracted tarball
585585
run: |
586-
tar -xf "__upload_artifact__.tar"
587-
rm __upload_artifact__.tar
586+
tar -xf "__pyTooling_upload_artifact__.tar"
587+
rm __pyTooling_upload_artifact__.tar
588588
tree .
589589
590590
Verify-8:
@@ -601,8 +601,8 @@ jobs:
601601

602602
- name: 🔎 Inspect extracted tarball
603603
run: |
604-
tar -xf "__upload_artifact__.tar"
605-
rm __upload_artifact__.tar
604+
tar -xf "__pyTooling_upload_artifact__.tar"
605+
rm __pyTooling_upload_artifact__.tar
606606
tree .
607607
608608
Verify-9:
@@ -619,6 +619,6 @@ jobs:
619619

620620
- name: 🔎 Inspect extracted tarball
621621
run: |
622-
tar -xf "__upload_artifact__.tar"
623-
rm __upload_artifact__.tar
622+
tar -xf "__pyTooling_upload_artifact__.tar"
623+
rm __pyTooling_upload_artifact__.tar
624624
tree .

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
name: Upload (preserving) Artifact
2+
branding:
3+
icon: upload
4+
color: yellow
25
description: Tarball files before uploading the artifact to preserve file privileges.
36
author: Patrick Lehmann (@Paebbels)
47

@@ -70,7 +73,7 @@ inputs:
7073
tarball-name:
7174
type: string
7275
required: false
73-
default: '__upload_artifact__.tar'
76+
default: '__pyTooling_upload_artifact__.tar'
7477

7578
outputs:
7679
artifact-id:

0 commit comments

Comments
 (0)