Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 23 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,28 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install saxonhe
run: choco install --ignore-checksums --no-progress --yes saxonhe
- name: Install Java JRE 25 to run SaxonHE
uses: actions/setup-java@v5
with:
distribution: temurin
java-package: jre
java-version: '25'
- name: Download SaxonHE 12.9
shell: powershell
run: |
Invoke-WebRequest `
-Uri "https://github.com/Saxonica/Saxon-HE/releases/download/SaxonHE12-9/SaxonHE12-9J.zip" `
-OutFile saxon.zip
Expand-Archive saxon.zip -DestinationPath saxon
- name: Create Transform wrapper
shell: powershell
run: |
@'
@echo off
java -cp "%~dp0saxon\saxon-he-12.9.jar;%~dp0saxon\lib\*" net.sf.saxon.Transform %*
'@ | Set-Content Transform.cmd
- name: Check SaxonHE Transform version
run: .\Transform.cmd -?
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -194,4 +214,4 @@ jobs:
- name: Tests (phpunit)
run: vendor/bin/phpunit --testdox --verbose
env:
saxonb-path: 'C:\ProgramData\chocolatey\bin\SaxonHE\bin\Transform.exe'
saxonb-path: '.\Transform.cmd'
Loading