From 623a565ab0f226216420c04f833ba909705c0a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rube=CC=81n=20Robles?= Date: Wed, 13 Mar 2024 12:34:57 +0100 Subject: [PATCH] fix ci workflow --- .github/workflows/publish.yml | 2 +- .github/workflows/tests.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 062e0b1..f82c8f3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,6 +23,6 @@ jobs: uses: softprops/action-gh-release@v2 with: body: ${{ steps.query-release-info.outputs.release-notes }} - make_latest: ${{ $GITHUB_REF_NAME == 'main' && true || false }} + make_latest: ${{ github.ref_name == 'main' && true || false }} # prerelease: true # files: '*.vsix' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 875b0f1..0bf0b02 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: matrix: os: [ ubuntu-latest ] php: [ 8.1, 8.2, 8.3 ] - stability: [prefer-lowest, prefer-stable] + stability: [ prefer-stable ] laravel: [ 10.*, 11.* ] include: - laravel: 10.* @@ -19,6 +19,9 @@ jobs: - laravel: 11.* testbench: 9.* + exclude: + - php: 8.1 + laravel: 11.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}