Skip to content

Commit 0dd5141

Browse files
committed
Attempt with simple check
1 parent 4483215 commit 0dd5141

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ jobs:
106106
echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
107107
108108
- name: Composer require the local rapidez/core
109-
run: composer require rapidez/core:"dev-${{ env.CORE_HASH }} || ${{ env.CORE_HASH }}-dev as ${{ env.LATEST_TAG }}"
109+
run: |
110+
[[ '${{ env.CORE_HASH }}' =~ [0-9]+\.[xX] ]] && composer require rapidez/core:"${{ env.CORE_HASH }}-dev as ${{ env.LATEST_TAG }}" || composer require rapidez/core:"dev-${{ env.CORE_HASH }} as ${{ env.LATEST_TAG }}"
110111
111112
- name: Install Rapidez command
112113
run: php artisan rapidez:install --frontendonly

0 commit comments

Comments
 (0)