mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 18:44:04 +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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- laravel: "^11.0"
|
- laravel: "^12.0"
|
||||||
php: "8.4"
|
php: "8.4"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
16
.github/workflows/queue.yml
vendored
16
.github/workflows/queue.yml
vendored
|
|
@ -10,11 +10,19 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare composer version constraint prefix
|
- name: Prepare composer version constraint prefix
|
||||||
run: |
|
run: |
|
||||||
BRANCH=${GITHUB_REF#refs/heads/}
|
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||||
if [[ $BRANCH =~ ^[0-9]\.x$ ]]; then
|
# For refs like "refs/tags/v3.9.0", remove "refs/tags/v" prefix to get just "3.9.0"
|
||||||
echo "VERSION_PREFIX=${BRANCH}-dev" >> $GITHUB_ENV
|
VERSION=${GITHUB_REF#refs/tags/v}
|
||||||
|
echo "VERSION_PREFIX=${VERSION}" >> $GITHUB_ENV
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
- name: Clone test suite
|
- name: Clone test suite
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
"spatie/ignition": "^1.4",
|
"spatie/ignition": "^1.4",
|
||||||
"ramsey/uuid": "^4.7.3",
|
"ramsey/uuid": "^4.7.3",
|
||||||
"stancl/jobpipeline": "2.0.0-rc5",
|
"stancl/jobpipeline": "2.0.0-rc5",
|
||||||
"stancl/virtualcolumn": "dev-master",
|
"stancl/virtualcolumn": "^1.5.0",
|
||||||
"spatie/invade": "*",
|
"spatie/invade": "*",
|
||||||
"laravel/prompts": "0.*"
|
"laravel/prompts": "0.*"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue