From 26315d32310e5c42461f3fc638f5cdbe1bc21272 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Wed, 15 May 2024 17:13:51 +0200 Subject: [PATCH] publisher? --- .github/workflows/publish_ig.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish_ig.yml b/.github/workflows/publish_ig.yml index ef4a72d..0ffea35 100644 --- a/.github/workflows/publish_ig.yml +++ b/.github/workflows/publish_ig.yml @@ -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 ..