Skip to content

Commit

Permalink
Updated github actions based on pr suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan8456 committed Feb 20, 2024
1 parent e1a151f commit 5159c2b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
# Install reproschema2fhir if needed
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: kind-lab/reproschema-to-fhir
submodules: 'true'
Expand All @@ -71,9 +71,13 @@ jobs:
run: |
cd ./tofsh
pip install -e .
cp .env.example .env
touch .env
git submodule update --init --recursive
echo -e "CODESYSTEM_URI = https://voicecollab.ai/fhir/CodeSystem/\nVALUESET_URI = https://voicecollab.ai/fhir/ValueSet/\nQUESTIONNAIRE_URI = https://voicecollab.ai/fhir/Questionnaire/\nQUESTIONNAIRE_LANGUAGE = en\nFHIR_QUESTIONNAIRE_MODE = AnswerOptions" >> .env
echo -e "CODESYSTEM_URI = https://voicecollab.ai/fhir/CodeSystem/" >> .env
echo -e "VALUESET_URI = https://voicecollab.ai/fhir/ValueSet/" >> .env
echo -e "QUESTIONNAIRE_URI = https://voicecollab.ai/fhir/Questionnaire/" >> .env
echo -e "QUESTIONNAIRE_LANGUAGE = en" >> .env
echo -e "FHIR_QUESTIONNAIRE_MODE = AnswerOptions" >> .env
./job.sh
cd ..
cp -r ./tofsh/output/ fsh_files
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
# Install reproschema2fhir if needed
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: kind-lab/reproschema-to-fhir
submodules: 'true'
Expand All @@ -69,9 +69,13 @@ jobs:
run: |
cd ./tofsh
pip install -e .
cp .env.example .env
touch .env
git submodule update --init --recursive
echo -e "CODESYSTEM_URI = https://voicecollab.ai/fhir/CodeSystem/\nVALUESET_URI = https://voicecollab.ai/fhir/ValueSet/\nQUESTIONNAIRE_URI = https://voicecollab.ai/fhir/Questionnaire/\nQUESTIONNAIRE_LANGUAGE = en\nFHIR_QUESTIONNAIRE_MODE = AnswerOptions" >> .env
echo -e "CODESYSTEM_URI = https://voicecollab.ai/fhir/CodeSystem/" >> .env
echo -e "VALUESET_URI = https://voicecollab.ai/fhir/ValueSet/" >> .env
echo -e "QUESTIONNAIRE_URI = https://voicecollab.ai/fhir/Questionnaire/" >> .env
echo -e "QUESTIONNAIRE_LANGUAGE = en" >> .env
echo -e "FHIR_QUESTIONNAIRE_MODE = AnswerOptions" >> .env
./job.sh
cd ..
cp -r ./tofsh/output/ fsh_files
Expand Down
File renamed without changes.

0 comments on commit 5159c2b

Please sign in to comment.