-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (49 loc) · 1.45 KB
/
validate.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
52
53
54
55
56
name: Build the IG
on: [pull_request]
jobs:
validate:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
# Install ruby
# https://github.com/ruby/setup-ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
# Install Jekyll
# https://jekyllrb.com/docs/installation/ubuntu/
- name: "Install Jekyll"
shell: bash
run: |
gem install jekyll bundler
jekyll -v
# Install node if SUSHI is needed
# https://github.com/actions/setup-node
- name: "Install Node.js"
uses: actions/setup-node@v3
with:
node-version: "18"
# Install SUSHI if needed
- name: "Install SUSHI"
shell: bash
run: |
npm install -g [email protected]
sushi --version
sushi .
- name: "Download the IG Publisher"
shell: bash
run: |
mkdir ./input-cache
curl -sS -L https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -o ./input-cache/publisher.jar
chmod +x ./input-cache/publisher.jar
# Download the IG Publisher
- name: "Create IG"
shell: bash
run: |
java -jar -Xms4096M -Xmx6144M -XX:NewRatio=1 -XX:-UseAdaptiveSizePolicy input-cache/publisher.jar ig.ini