Refactor getVersion.php to prevent GitHub Actions failure
This commit is contained in:
parent
18d5dd3090
commit
c70554e2d2
1 changed files with 6 additions and 0 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
// To prevent github actions from failing
|
||||||
|
function env()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
$version = include 'config/constants.php';
|
$version = include 'config/constants.php';
|
||||||
echo $version['coolify']['version'] ?: 'unknown';
|
echo $version['coolify']['version'] ?: 'unknown';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue