mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 14:44:05 +00:00
ci fixes, use stable virtualcolumn version
This commit is contained in:
parent
0f8eb2ec6a
commit
9d86178217
3 changed files with 14 additions and 6 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- laravel: "^11.0"
|
||||
- laravel: "^12.0"
|
||||
php: "8.4"
|
||||
|
||||
steps:
|
||||
|
|
|
|||
16
.github/workflows/queue.yml
vendored
16
.github/workflows/queue.yml
vendored
|
|
@ -10,11 +10,19 @@ jobs:
|
|||
steps:
|
||||
- name: Prepare composer version constraint prefix
|
||||
run: |
|
||||
BRANCH=${GITHUB_REF#refs/heads/}
|
||||
if [[ $BRANCH =~ ^[0-9]\.x$ ]]; then
|
||||
echo "VERSION_PREFIX=${BRANCH}-dev" >> $GITHUB_ENV
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
# For refs like "refs/tags/v3.9.0", remove "refs/tags/v" prefix to get just "3.9.0"
|
||||
VERSION=${GITHUB_REF#refs/tags/v}
|
||||
echo "VERSION_PREFIX=${VERSION}" >> $GITHUB_ENV
|
||||
else
|
||||
echo "VERSION_PREFIX=dev-${BRANCH}" >> $GITHUB_ENV
|
||||
BRANCH=${GITHUB_REF#refs/heads/}
|
||||
if [[ $BRANCH =~ ^[0-9]\.x$ ]]; then
|
||||
# Branches starting with %d.x need to use -dev suffix
|
||||
echo "VERSION_PREFIX=${BRANCH}-dev" >> $GITHUB_ENV
|
||||
else
|
||||
# All other branches use dev-${branch} prefix
|
||||
echo "VERSION_PREFIX=dev-${BRANCH}" >> $GITHUB_ENV
|
||||
fi
|
||||
fi
|
||||
|
||||
- name: Clone test suite
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
"spatie/ignition": "^1.4",
|
||||
"ramsey/uuid": "^4.7.3",
|
||||
"stancl/jobpipeline": "2.0.0-rc5",
|
||||
"stancl/virtualcolumn": "dev-master",
|
||||
"stancl/virtualcolumn": "^1.5.0",
|
||||
"spatie/invade": "*",
|
||||
"laravel/prompts": "0.*"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue