mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-08 17:06:05 +02:00
fix(ci): fix release_type check in delivery action (#5315)
This commit is contained in:
parent
61ea71464e
commit
508b2312fc
2
.github/actions/package-delivery/action.yml
vendored
2
.github/actions/package-delivery/action.yml
vendored
@ -38,7 +38,7 @@ runs:
|
||||
throw new Error(`Stability ${{ inputs.stability }} should not deliver packages`);
|
||||
}
|
||||
|
||||
if ('${{ inputs.stability }}' === 'testing' && ! ['testing', 'hotfix'].includes('${{ inputs.release_type }}')) {
|
||||
if ('${{ inputs.stability }}' === 'testing' && ! ['release', 'hotfix'].includes('${{ inputs.release_type }}')) {
|
||||
throw new Error('release_type input must be defined when stability is testing');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user