File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ jobs:
23
23
LATEST=$(curl -s https://api.github.com/repos/nipype/pydra-tasks-template/releases/latest | grep tag_name | awk -F\" '{print $4}')
24
24
curl -Lo pydra-tasks-template.tar.gz https://github.com/nipype/pydra-tasks-template/archive/refs/tags/$LATEST.tar.gz
25
25
tar xzf pydra-tasks-template.tar.gz
26
- ls
27
- mv pydra-tasks-template-${LATEST#v} $HOME/pydra-tasks-template
28
- ls $HOME
26
+ rm pydra-tasks-template.tar.gz
27
+ mv pydra-tasks-template-${LATEST#v} pydra-tasks-template
28
+ tar czf $HOME/pydra-tasks-template.tar.gz pydra-tasks-template
29
+
29
30
30
31
- uses : actions/upload-artifact@v4
31
32
with :
32
33
name : tasks-template
33
- path : $HOME/pydra-tasks-template
34
+ path : $HOME/pydra-tasks-template.tar.gz
34
35
35
36
test :
36
37
needs : [download-task-template]
52
53
uses : actions/download-artifact@v4
53
54
with :
54
55
name : tasks-template
55
- path : $HOME/pydra-tasks-template
56
+ path : $HOME/pydra-tasks-template.tar.gz
57
+
58
+ - name : Extract the pydra-tasks-template
59
+ run : |
60
+ pushd $HOME
61
+ tar xzf pydra-tasks-template.tar.gz
62
+ popd
56
63
57
64
- name : Unset header
58
65
# checkout@v2 adds a header that makes branch protection report errors
You can’t perform that action at this time.
0 commit comments