diff --git a/.github/actions-lock.txt b/.github/actions-lock.txt index b747350a..8823bed5 100644 --- a/.github/actions-lock.txt +++ b/.github/actions-lock.txt @@ -19,6 +19,6 @@ dc1f60c242a2377a0de26a521c68b49a psalm.yml 2dbec18233063b42f4d8e03bbb43671c reuse.yml 3688c8c5aa6a98dcd3b5019dcecccddd sync-workflow-templates.yml abcb8206c3f6c5a9dc86cccf57846bfc update-nextcloud-ocp-approve-merge.yml -5165b2cbba7d5b36735419524e2fe4e9 update-nextcloud-ocp.yml +9d8001c85ee83c52786a6b1b3243a45b update-nextcloud-ocp.yml 6e07ed85ca156b6bf121a50dc1af6712 npm-build.yml bea8a43904976fa01f1e091046541b37 release-relay.yml diff --git a/.github/workflows/update-nextcloud-ocp.yml b/.github/workflows/update-nextcloud-ocp.yml index 6adf6c59..e9ac14c0 100644 --- a/.github/workflows/update-nextcloud-ocp.yml +++ b/.github/workflows/update-nextcloud-ocp.yml @@ -72,11 +72,16 @@ jobs: fi rm version.php - - name: Set up php8.3 + - name: Get php version + id: versions + if: steps.freeze.outputs.active != 'true' && steps.checkout.outcome == 'success' + uses: nextcloud-libraries/nextcloud-version-matrix@cd0211ffcef1065e2020cd579e4843b8746e7a58 # v1.3.3 + + - name: Set up php${{ steps.versions.outputs.php-min }} if: steps.freeze.outputs.active != 'true' && steps.checkout.outcome == 'success' uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0 with: - php-version: 8.3 + php-version: ${{ steps.versions.outputs.php-min }} # https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite coverage: none @@ -106,7 +111,7 @@ jobs: if: steps.freeze.outputs.active != 'true' env: USE_COMPOSER_BIN: ${{ steps.check_composer_bin.outputs.files_exists }} - BRANCH_NAME: ${{ matrix.server || matrix.branches }} + BRANCH_NAME: ${{ matrix.branches }} run: | COMPOSER_CMD='composer' if [[ "$USE_COMPOSER_BIN" == 'true' ]]; then