File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ runs:
25
25
shell : sh
26
26
if : runner.os == 'Linux'
27
27
run : |
28
+ echo ::group::Archive artifact
28
29
tar \
29
30
--dereference --hard-dereference \
30
31
--directory "$INPUT_PATH" \
31
32
-cvf "$RUNNER_TEMP/artifact.tar" \
32
33
--exclude=.git \
33
34
--exclude=.github \
34
35
.
36
+ echo ::endgroup::
35
37
env :
36
38
INPUT_PATH : ${{ inputs.path }}
37
39
@@ -40,13 +42,15 @@ runs:
40
42
shell : sh
41
43
if : runner.os == 'macOS'
42
44
run : |
45
+ echo ::group::Archive artifact
43
46
gtar \
44
47
--dereference --hard-dereference \
45
48
--directory "$INPUT_PATH" \
46
49
-cvf "$RUNNER_TEMP/artifact.tar" \
47
50
--exclude=.git \
48
51
--exclude=.github \
49
52
.
53
+ echo ::endgroup::
50
54
env :
51
55
INPUT_PATH : ${{ inputs.path }}
52
56
55
59
shell : bash
56
60
if : runner.os == 'Windows'
57
61
run : |
62
+ echo ::group::Archive artifact
58
63
tar \
59
64
--dereference --hard-dereference \
60
65
--directory "$INPUT_PATH" \
63
68
--exclude=.github \
64
69
--force-local \
65
70
"."
71
+ echo ::endgroup::
66
72
env :
67
73
INPUT_PATH : ${{ inputs.path }}
68
74
You can’t perform that action at this time.
0 commit comments