Skip to content

update action

update action #225

Workflow file for this run

name: Workflow sushi/test/Publish
on:
workflow_call:
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
Call-Sushi :
runs-on: ubuntu-latest
steps:
# Install .NET runtime
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x.x'
# Install Java runtime (only needed if you want to run the offical HL7 Java validator)
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
- name : firely
run : dotnet tool install --global Firely.Terminal --version 3.0.0
- name: Check Firely Terminal Version
run: |
CHECK_FIRELY_TERMINAL_VERSION=$(fhir -v | tr '\n' ' ') # Print everything in a single line
echo "FIRELY_TERMINAL_VERSION: $CHECK_FIRELY_TERMINAL_VERSION"
- name: Run bake ans.annuaire.fhir.r4
run: |
fhir install ans.annuaire.fhir.r4 0.2.0
fhir bake --package ans.annuaire.fhir.r4
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: 📥 Download patch fr-core
run: |
wget -q https://github.com/ansforge/FIG_ans.workflows/blob/main/dependency/hl7.fhir.fr.core-1.1.0.tgz?raw=true -O ./hl7.fhir.fr.core-1.1.0.tgz
cp hl7.fhir.fr.core-1.1.0.tgz ~/.fhir/packages
tar -xzvf ~/.fhir/packages/hl7.fhir.fr.core-1.1.0.tgz
ls ~/.fhir/packages
- name: Install modules
run: npm install -g fsh-sushi
- name: Run sushi
run: sushi .
call-Test-Unitaire:
needs : Call-Sushi
uses: ansforge/FIG_ans.workflows/.github/workflows/fhir-validator-engine.yml@main
call-Publish:
needs : call-Test-Unitaire
uses: ansforge/FIG_ans.workflows/.github/workflows/gh-pages.yml@main