File tree Expand file tree Collapse file tree 4 files changed +9
-18
lines changed Expand file tree Collapse file tree 4 files changed +9
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Test-ar-live
2
2
3
3
on :
4
- pull_request :
5
4
push :
6
- branches : [main]
5
+ tags :
6
+ - ' v*'
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
10
build :
41
42
run : clojure -M:run install --db snomed.db --dist ar.mlds/1271898 --username ${{ secrets.MLDS_USERNAME }} --password mlds-password.txt
42
43
43
44
- name : Index database
44
- if : steps.cache-db.outputs.cache-hit != 'true'
45
45
run : clojure -M:run --db snomed.db index
46
46
47
47
- name : Print status report
Original file line number Diff line number Diff line change 1
1
name : Test-intl-live
2
2
3
3
on :
4
- pull_request :
5
4
push :
6
- branches : [main]
5
+ tags :
6
+ - ' v*'
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
10
build :
41
42
run : clojure -M:run install --db snomed.db --dist ihtsdo.mlds/167 --username ${{ secrets.MLDS_USERNAME }} --password mlds-password.txt
42
43
43
44
- name : Index database
44
- if : steps.cache-db.outputs.cache-hit != 'true'
45
45
run : clojure -M:run --db snomed.db index
46
46
47
47
- name : Print status report
Original file line number Diff line number Diff line change 46
46
run : rm -rf trud
47
47
48
48
- name : Index database
49
- if : steps.cache-db.outputs.cache-hit != 'true'
50
49
run : clojure -M:run --db snomed.db index
51
50
52
51
- name : Print status report
Original file line number Diff line number Diff line change 1
1
name : Test-uk-live
2
2
3
3
on :
4
- pull_request :
5
4
push :
6
- branches : [main]
5
+ tags :
6
+ - ' v*'
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
10
build :
@@ -40,22 +41,13 @@ jobs:
40
41
- name : Write out TRUD API key from secrets
41
42
run : echo ${{ secrets.TRUD_API_KEY }} >> api-key.txt
42
43
43
- - name : Cache database
44
- id : cache-db
45
- uses : actions/cache@v4
46
- with :
47
- path : snomed.db
48
- key : ${{ github.sha }}-uk-clinical-db
49
-
50
44
- name : Install latest distributions for the UK
51
- if : steps.cache-db.outputs.cache-hit != 'true'
52
45
run : clojure -M:run --db snomed.db install uk.nhs/sct-clinical --api-key api-key.txt --cache-dir trud
53
46
54
47
- name : Remove downloaded files
55
48
run : rm -rf trud
56
49
57
50
- name : Index database
58
- if : steps.cache-db.outputs.cache-hit != 'true'
59
51
run : clojure -M:run --db snomed.db index
60
52
61
53
- name : Print status report
You can’t perform that action at this time.
0 commit comments