Skip to content

Commit

Permalink
publisher?
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed May 15, 2024
1 parent d5a767d commit 26315d3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/publish_ig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,27 @@ jobs:
java-version: 21
distribution: adopt

- name: Get the repo name
id: repo_name
run: echo "::set-output name=repo::$(echo ${{ github.repository }} | cut -d '/' -f 2)"
shell: bash

- name: 📥 Download IG Publisher
run: wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar
run: |
cd /home/runner/work/${{ steps.repo_name.outputs.repo }}
wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar
- uses: actions/checkout@v4
with:
repository: ${{ github.repository }}

- name: Get the repo name
id: repo_name
run: echo "::set-output name=repo::$(echo ${{ github.repository }} | cut -d '/' -f 2)"
shell: bash

- name: List path
run: ls -R ./

# Builds the HTML page for the IG.
- name: 🏃‍♂️ Run IG Publisher
timeout-minutes: 45 # We need a long timeout here
run : |
run: |
cd /home/runner/work/${{ steps.repo_name.outputs.repo }}/${{ steps.repo_name.outputs.repo }}
java -Xmx8192m -jar ../publisher.jar -ig .
cd ..
Expand Down

0 comments on commit 26315d3

Please sign in to comment.