Skip to content

Commit

Permalink
one more time
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed May 15, 2024
1 parent 584d55b commit 78f14fa
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/publish_ig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,37 @@ jobs:
run: echo "::set-output name=repo::$(echo ${{ github.repository }} | cut -d '/' -f 2)"
shell: bash

- name: 📥 Download IG Publisher
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:
path: ${{ steps.repo_name.outputs.repo }}
- name: Change to workspace
run: echo "Changing to workspace "
working-directory: ${{ github.workspace }}

- name: Workspace
id: repo_name
run: echo "${{ github.workspace }}"
shell: bash

# - uses: actions/checkout@v4
# with:
# path: ${{ steps.repo_name.outputs.repo }}

- uses: actions/checkout@v4
with:
repository: hl7ch/ig-release
path: ig-release

- name: 📥 Download IG Publisher
run: |
wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar
ls -all ./publisher.jar
- 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: |
cd /home/runner/work/${{ steps.repo_name.outputs.repo }}/${{ steps.repo_name.outputs.repo }}
cd ${{ steps.repo_name.outputs.repo }}
java -Xmx8192m -jar ../publisher.jar -ig .
cd ..
Expand Down

0 comments on commit 78f14fa

Please sign in to comment.