This commit is contained in:
Robin Appelman 2023-11-02 17:12:59 +01:00
commit 33c0246e79
6 changed files with 38861 additions and 7 deletions

View file

@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
name: A job to test the action
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Execute xpath-action
id: versions
- name: Execute action
id: run
uses: ./
with:
filename: ./.github/workflows/info.xml
- name: Get the result
run: |
echo -e "Versions :\n${{ steps.xpath.versions.versions }}"
echo -e "Branches :\n${{ steps.xpath.versions.branches }}"
echo -e "Versions :\n${{ steps.xpath.run.versions }}"
echo -e "Branches :\n${{ steps.xpath.run.branches }}"

View file

@ -11,4 +11,4 @@ outputs:
description: 'List of branches for the supported nextcloud versions'
runs:
using: 'node20'
main: 'index.js'
main: 'dist/index.js'

38838
dist/index.js vendored Normal file

File diff suppressed because one or more lines are too long

12
package-lock.json generated
View file

@ -13,6 +13,9 @@
"url-exist": "^2.0.2",
"xmldom": "^0.6.0",
"xpath": "0.0.27"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1"
}
},
"node_modules/@actions/core": {
@ -41,6 +44,15 @@
"node": ">=14"
}
},
"node_modules/@vercel/ncc": {
"version": "0.38.1",
"resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.38.1.tgz",
"integrity": "sha512-IBBb+iI2NLu4VQn3Vwldyi2QwaXt5+hTyh58ggAMoCGE6DJmPvwL3KPBWcJl1m9LYPChBLE980Jw+CS4Wokqxw==",
"dev": true,
"bin": {
"ncc": "dist/ncc/cli.js"
}
},
"node_modules/abort-controller": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",

View file

@ -2,8 +2,9 @@
"name": "nextcloud-version-matrix",
"version": "1.0.0",
"description": "Generate nextcloud version matrix for an app",
"main": "index.js",
"main": "src/action.js",
"scripts": {
"build": "ncc build src/action.js -o dist",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
@ -14,5 +15,8 @@
"url-exist": "^2.0.2",
"xmldom": "^0.6.0",
"xpath": "0.0.27"
},
"devDependencies": {
"@vercel/ncc": "^0.38.1"
}
}