-
Notifications
You must be signed in to change notification settings - Fork 2
51 lines (41 loc) · 1.28 KB
/
terminologies.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: terminologies
on:
push:
tags:
- "*"
jobs:
build-and-release:
runs-on: self-hosted
steps:
- uses: actions/[email protected]
- name: Setup Babashka
uses: turtlequeue/[email protected]
with:
babashka-version: 0.8.156
- name: Install jq
run: sudo apt-get install jq -y
- name: Set tag env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/[email protected]
with:
distribution: "temurin"
java-version: "18"
- uses: DeLaGuardo/[email protected]
with:
cli: 1.11.1.1155
- name: Build terminologies
run: |
echo "TEMP_DIR=$(mktemp -d)" >> $GITHUB_ENV
bb build-terminology-bundles
env:
ICD_10_CLIENT_ID: ${{ secrets.ICD_10_CLIENT_ID }}
ICD_10_CLIENT_SECRET: ${{ secrets.ICD_10_CLIENT_SECRET }}
LOINC_LOGIN: ${{ secrets.LOINC_LOGIN }}
LOINC_PASSWORD: ${{ secrets.LOINC_PASSWORD }}
- name: Upload private terminologies
uses: google-github-actions/upload-cloud-storage@main
with:
credentials: ${{ secrets.GCP_CREDENTIALS }}
path: "./"
glob: "*.zip"
destination: hs-zen-terminologies/