fix(ci): fix release_type check in delivery action (#5315)

This commit is contained in:
Kevin Duret 2024-12-05 16:25:51 +01:00 committed by GitHub
parent 61ea71464e
commit 508b2312fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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');
}