Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Saxon needs java
  • Loading branch information
emgeier authored Oct 19, 2024
1 parent ba3ce99 commit 0f03b96
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# Step 2: Install Saxon and dependencies for XSLT
- name: Install Saxon and dependencies
# Step 2: Install Java and Saxon and dependencies for XSLT
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'

- name: Download Saxon from GitHub
run: |
wget https://www.saxonica.com/download/hej/SaxonHE10-6J.zip -O saxon.zip
unzip saxon.zip
wget https://repo1.maven.org/maven2/net/sf/saxon/Saxon-HE/10.6/Saxon-HE-10.6.jar -O saxon.jar
# - name: Install Saxon and dependencies
# run: |
# wget https://www.saxonica.com/download/hej/SaxonHE10-6J.zip -O saxon.zip
# unzip saxon.zip

# Step 3: Find updated XML files
# - name: Identify updated XML files
Expand Down

0 comments on commit 0f03b96

Please sign in to comment.