mirror of
https://github.com/icewind1991/nextcloud-version-matrix.git
synced 2026-06-03 09:34:12 +02:00
debug output
This commit is contained in:
parent
33c0246e79
commit
b9b8f0b2b3
3 changed files with 6 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -21,5 +21,5 @@ jobs:
|
||||||
|
|
||||||
- name: Get the result
|
- name: Get the result
|
||||||
run: |
|
run: |
|
||||||
echo -e "Versions :\n${{ steps.xpath.run.versions }}"
|
echo -e "Versions :\n${{ steps.run.outputs.versions }}"
|
||||||
echo -e "Branches :\n${{ steps.xpath.run.branches }}"
|
echo -e "Branches :\n${{ steps.run.outputs.branches }}"
|
||||||
|
|
|
||||||
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -38813,6 +38813,8 @@ function onlyUnique(value, index, array) {
|
||||||
const minVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@min-version", document).value, 10);
|
const minVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@min-version", document).value, 10);
|
||||||
const maxVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@max-version", document).value, 10);
|
const maxVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@max-version", document).value, 10);
|
||||||
|
|
||||||
|
console.log(`App supports from ${minVersion} till ${maxVersion}`);
|
||||||
|
|
||||||
const versions = range(minVersion, maxVersion);
|
const versions = range(minVersion, maxVersion);
|
||||||
core.setOutput("versions", JSON.stringify(versions));
|
core.setOutput("versions", JSON.stringify(versions));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ function onlyUnique(value, index, array) {
|
||||||
const minVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@min-version", document).value, 10);
|
const minVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@min-version", document).value, 10);
|
||||||
const maxVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@max-version", document).value, 10);
|
const maxVersion = parseInt(xpath.select1("//info//dependencies//nextcloud/@max-version", document).value, 10);
|
||||||
|
|
||||||
|
console.log(`App supports from ${minVersion} till ${maxVersion}`);
|
||||||
|
|
||||||
const versions = range(minVersion, maxVersion);
|
const versions = range(minVersion, maxVersion);
|
||||||
core.setOutput("versions", JSON.stringify(versions));
|
core.setOutput("versions", JSON.stringify(versions));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue