mirror of
https://github.com/icewind1991/nextcloud-version-matrix.git
synced 2026-06-03 09:34:12 +02:00
27 lines
643 B
YAML
27 lines
643 B
YAML
name: Test the action
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
test_action:
|
|
runs-on: ubuntu-latest
|
|
name: A job to test the action
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Execute action
|
|
id: run
|
|
uses: ./
|
|
with:
|
|
filename: ./.github/workflows/info.xml
|
|
|
|
- name: Get the result
|
|
run: |
|
|
echo -e "Versions :\n${{ steps.run.outputs.versions }}"
|
|
echo -e "Available PHP :\n${{ steps.run.outputs.php-available }}"
|
|
echo -e "Branches :\n${{ steps.run.outputs.branches }}"
|
|
echo -e "Matrix :\n${{ steps.run.outputs.matrix }}"
|