nextcloud-version-matrix/.github/workflows/main.yml
Joas Schilling b01f59622a
ci(workflow): Add github action to confirm dist was rebuild
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-11-05 17:17:57 +01:00

33 lines
794 B
YAML

name: Test the action
permissions:
contents: read
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test_action:
runs-on: ubuntu-latest
name: A job to test the action
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- 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 }}"