Update .github/workflows/get-environment.yml

Co-authored-by: Kevin Duret <kduret@centreon.com>
This commit is contained in:
May 2025-01-16 14:15:04 +01:00 committed by GitHub
parent 72ee3f12b9
commit 1ca02fafd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,7 +251,7 @@ jobs:
script: |
let version = '';
if (${{ steps.get_stability.outputs.stability }} === 'testing') {
if ('${{ steps.get_stability.outputs.stability }}' === 'testing') {
const branchName = "${{ github.ref_name }}";
const matches = branchName.match(/^(?:release|hotfix)-(\d{8})$/);
if (matches) {