1
0
Fork 0

[add]
Some checks failed
Run BaseX Tests / test (push) Failing after 23s

This commit is contained in:
Andy Bunce 2025-01-31 22:59:56 +00:00
parent 05619a1f2a
commit 5a99d9ae76
4 changed files with 9 additions and 4 deletions

View file

@ -36,7 +36,6 @@ jobs:
- name: Build package
run: |
ls -l
basex scripts/make-fat-jar.xq
- name: Run BaseX Tests

View file

@ -1 +1 @@
30/1/2025..............
30/1/2025...............

View file

@ -63,5 +63,11 @@ as empty-sequence(){
for $f in $urls
let $dest:=$destdir || replace($f,"^.*/","")
where not(file:exists($dest))
return file:write-binary($dest, fetch:binary(resolve-uri($f,$build:REPO)=>trace("Download: ")))
return build:write-binary($dest, fetch:binary(resolve-uri($f,$build:REPO)=>trace("Download: ")))
};
declare function build:write-binary($dest as xs:string,$contents)
as empty-sequence{
file:create-dir(file:parent($dest)),
file:write-binary($dest,$contents)
};

View file

@ -24,6 +24,6 @@ let $name:=replace($config?main-class,"\.","/") || ".xqm"
let $content:=file:read-binary($config?base || "src/Pdfbox3.xqm")
let $fat-jar:=archive:update($fat-jar, $name,$content)
let $output-file := file:resolve-path($config?output,$config?base)
return (file:write-binary($output-file, $fat-jar),
return (build:write-binary($output-file, $fat-jar),
trace($output-file,"fat jar: "))