File tree Expand file tree Collapse file tree 1 file changed +1
-33
lines changed Expand file tree Collapse file tree 1 file changed +1
-33
lines changed Original file line number Diff line number Diff line change @@ -17,38 +17,6 @@ permissions:
17
17
contents : read
18
18
19
19
jobs :
20
- job_metadata :
21
- if : github.repository == 'nipreps/niworkflows'
22
- runs-on : ubuntu-latest
23
- outputs :
24
- commit_message : ${{ steps.get_commit_message.outputs.commit_message }}
25
- version : ${{ steps.show_version.outputs.version }}
26
- steps :
27
- - name : Checkout
28
- uses : actions/checkout@v4
29
- with :
30
- fetch-depth : 0
31
- - name : Print head git commit message
32
- id : get_commit_message
33
- run : |
34
- if [[ -z "$COMMIT_MSG" ]]; then
35
- COMMIT_MSG=$(git show -s --format=%s $REF)
36
- fi
37
- echo commit_message=$COMMIT_MSG | tee -a $GITHUB_OUTPUT
38
- env :
39
- COMMIT_MSG : ${{ github.event.head_commit.message }}
40
- REF : ${{ github.event.pull_request.head.sha }}
41
- - name : Detect version
42
- id : show_version
43
- run : |
44
- if [[ "$GITHUB_REF" == refs/tags/* ]]; then
45
- VERSION=${GITHUB_REF##*/}
46
- else
47
- pipx run hatch version # Once to avoid output of initial setup
48
- VERSION=$( pipx run hatch version )
49
- fi
50
- echo version=$VERSION | tee -a $GITHUB_OUTPUT
51
-
52
20
build :
53
21
if : github.repository == 'nipreps/niworkflows'
54
22
runs-on : ubuntu-latest
118
86
datalad get -J 2 -r ds000003 ds000030/sub-10228/func
119
87
120
88
test :
121
- needs : [build, get_data, job_metadata ]
89
+ needs : [get_data]
122
90
runs-on : ubuntu-latest
123
91
strategy :
124
92
matrix :
You can’t perform that action at this time.
0 commit comments