mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix(ci): fix delivery condition (#5316)
This commit is contained in:
parent
508b2312fc
commit
15bc1661e7
6
.github/actions/package-delivery/action.yml
vendored
6
.github/actions/package-delivery/action.yml
vendored
@ -107,8 +107,10 @@ runs:
|
|||||||
}
|
}
|
||||||
|
|
||||||
- name: Download packages from testing
|
- name: Download packages from testing
|
||||||
if: ${{ inputs.stability == 'testing' }}
|
if: ${{ inputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy' }}
|
||||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const warningNoPromote = 'No packages are promoted because push is not related to a hotfix/release pull request.';
|
const warningNoPromote = 'No packages are promoted because push is not related to a hotfix/release pull request.';
|
||||||
@ -167,7 +169,7 @@ runs:
|
|||||||
- name: Publish packages to ${{ inputs.stability }}
|
- name: Publish packages to ${{ inputs.stability }}
|
||||||
if: |
|
if: |
|
||||||
contains(fromJson('["testing", "unstable"]'), inputs.stability) ||
|
contains(fromJson('["testing", "unstable"]'), inputs.stability) ||
|
||||||
(needs.get-version.outputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy')
|
(inputs.stability == 'stable' && github.event_name == 'push' && inputs.distrib != 'jammy')
|
||||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user