initial version

This commit is contained in:
Robin Appelman 2023-11-02 17:03:53 +01:00
commit c12ca846eb
12 changed files with 469 additions and 0 deletions

6
.github/workflows/info.xml vendored Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<info>
<dependencies>
<nextcloud min-version="25" max-version="29" />
</dependencies>
</info>

25
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Test the action
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test_action:
runs-on: ubuntu-latest
name: A job to test the action
steps:
- uses: actions/checkout@v2
- name: Execute xpath-action
id: versions
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 }}"