debug output

This commit is contained in:
Robin Appelman 2023-11-02 17:17:27 +01:00
commit b9b8f0b2b3
3 changed files with 6 additions and 2 deletions

View file

@ -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
View file

@ -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));

View file

@ -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));