From 22cc444f5c242716eb433b138dc5b74ab5407cdb Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 28 Mar 2024 14:37:15 -0300 Subject: [PATCH] fix: matrix output Signed-off-by: Vitor Mattos --- .github/workflows/behat-mysql.yml | 3 +++ .github/workflows/phpunit-mysql.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/behat-mysql.yml b/.github/workflows/behat-mysql.yml index 2a83e9bf00..f503d1a747 100644 --- a/.github/workflows/behat-mysql.yml +++ b/.github/workflows/behat-mysql.yml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest outputs: matrix: ${{ steps.versions.outputs.sparse-matrix }} + php-version: ${{ steps.versions.outputs.php-available-list }} + server-max: ${{ steps.versions.outputs.branches-max-list }} steps: - name: Checkout app uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -58,6 +60,7 @@ jobs: matrix: php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} + mysq-versions: ${{ fromJson(needs.matrix.outputs.mysq-versions) }} name: MySQL ${{ matrix.mysql-versions }} PHP ${{ matrix.php-versions }} Nextcloud ${{ matrix.server-versions }} diff --git a/.github/workflows/phpunit-mysql.yml b/.github/workflows/phpunit-mysql.yml index 5d5401eff6..ba7190eb78 100644 --- a/.github/workflows/phpunit-mysql.yml +++ b/.github/workflows/phpunit-mysql.yml @@ -19,6 +19,8 @@ jobs: runs-on: ubuntu-latest outputs: matrix: ${{ steps.versions.outputs.sparse-matrix }} + php-version: ${{ steps.versions.outputs.php-available-list }} + server-max: ${{ steps.versions.outputs.branches-max-list }} steps: - name: Checkout app uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -63,6 +65,7 @@ jobs: matrix: php-versions: ${{ fromJson(needs.matrix.outputs.php-version) }} server-versions: ${{ fromJson(needs.matrix.outputs.server-max) }} + mysq-versions: ${{ fromJson(needs.matrix.outputs.mysq-versions) }} coverage: ['xdebug'] testsuite: [unit, api] xdebug_mode: ['debug']