Skip to content

Commit

Permalink
move creation of resources folder from pipeline to script
Browse files Browse the repository at this point in the history
  • Loading branch information
declankieran committed Jan 31, 2024
1 parent fc79fab commit 9ea2e50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: docker run -d -p 8080:8080 -e hapi.fhir.daoconfig_client_id_strategy=UUID -e hapi.fhir.client_id_strategy=ANY hapiproject/hapi:latest

- name: Convert FSH to JSON and set up resources folder in input
run: sushi .; mkdir -p input/resources
run: sushi .

- name: Sleep to give server time to start
run: sleep 90
Expand Down
3 changes: 3 additions & 0 deletions scripts/run-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ HEADERS="Content-type:application/fhir+json;fhirVersion=4.0"
# TODO - Make the script runnable from any path
SCRIPT_ROOT=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P );

# Make resources folder if it doesn't already exist
mkdir -p ./input/resources

for EXAMPLE in ./input/fsh/examples/*; do

# Get the filename from the path
Expand Down

0 comments on commit 9ea2e50

Please sign in to comment.