Skip to content

Commit f3840db

Browse files
authored
Update build-profiles.yml
1 parent 54a342d commit f3840db

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.github/workflows/build-profiles.yml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,33 @@ jobs:
1919
uses: actions/checkout@v3
2020
with:
2121
path: profiles
22-
- name: Get FHIR packages
23-
uses: cybernop/fill-fhir-cache@v1
22+
- name: Setup NodeJS
23+
uses: actions/setup-node@v3
2424
with:
25-
project-dir: profiles
25+
node-version: 18
26+
- uses: actions/setup-dotnet@v3
27+
with:
28+
dotnet-version: "8.0"
29+
- name: Create temp dir and copy sushi project file
30+
run: mkdir temp && cp -v ${{ inputs.project-dir }}/sushi-config.yaml temp/
31+
shell: bash
32+
- name: Install sushi locally
33+
working-directory: temp
34+
run: npm install -g fsh-sushi
35+
shell: bash
36+
- name: Install Firely Terminal
37+
run: dotnet tool install -g firely.terminal
38+
shell: bash
39+
- name: Get dependencies
40+
working-directory: temp
41+
run: sushi
42+
shell: bash
43+
- name: Inflate FHIR packages
44+
run: fhir inflate-cache
45+
shell: bash
46+
- name: Remove temporary files
47+
run: npm remove -g fsh-sushi && rm -rf temp
48+
shell: bash
2649
- name: Update FHIR Profiles
2750
uses: cybernop/build-fhir-profiles@v1
2851
with:

0 commit comments

Comments
 (0)