mv .zip #263
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
- name: Run bake hl7.fhir.fr.core | ||
run: | | ||
fhir install hl7.fhir.fr.core 1.1.0 | ||
fhir bake --package hl7.fhir.fr.core | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: 📥 Download pacth 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 | ||
- 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 | ||
Check failure on line 62 in .github/workflows/fhir-worklows.yml
|
||
call-Publish: | ||
needs : call-Test-Unitaire | ||
uses: ansforge/FIG_ans.workflows/.github/workflows/gh-pages.yml@main |