Skip to content

Commit

Permalink
Merge pull request #22 from ansforge/nr-fix-dep
Browse files Browse the repository at this point in the history
Nr fix dep
  • Loading branch information
M-Priour authored Jul 15, 2024
2 parents ce9c68d + 2b31589 commit 04f37d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
| name | value | default | description |
|--------------------|---------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ig-publisher-version | string |latest | Version de l'ig publisher : format : 'x.y.z' |
| github_page_token | string | | Token pour passer les GitHub Pages du repo |
| github_page | boolean | false | Publication de l'IG dans les GitHub pages |
| repo_ig | string | | Chemin d'accés au repertoire des sources de l'IG |
Expand Down
12 changes: 11 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: "FHIR IG Action"
description: "Worklow pour les IG de l'ANS"
inputs:
ig-publisher-version:
description: "Version de l'IG Publisher version to use. 'latest' | 'x.y.z'"
required: false
default: "latest"
github_page_token:
description: 'Clé GITHUB_TOKEN pour pousser dans les pages github (branche gh-pages).'
required: false
Expand Down Expand Up @@ -138,7 +142,13 @@ runs:
# Téléchargement de la dernière version du publisher
- name: 📥 Download IG Publisher
shell: bash
run: wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar
run: |
if [ ${{inputs.ig-publisher-version}} = "latest" ]; then
wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar
else
wget -q https://github.com/HL7/fhir-ig-publisher/releases/download/${{inputs.ig-publisher-version}}/publisher.jar
fi
#Récupération du nom de la branche afin de publier dans gh-pages
- name: Get branch names
Expand Down

0 comments on commit 04f37d7

Please sign in to comment.