Skip to content

test(ci): test token usage for delivery action #133

test(ci): test token usage for delivery action

test(ci): test token usage for delivery action #133

name: connector-vmware
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
workflow_dispatch:
pull_request:
paths:
- '**'
push:
branches:
- develop
- master
paths:
- 'connectors/vmware/src/**'
- 'connectors/vmware/packaging/**'
jobs:
get-environment:
uses: ./.github/workflows/get-environment.yml
with:
version_file: connectors/vmware/src/centreon/script/centreon_vmware.pm
deliver-packages:
needs: [get-environment]
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- distrib: el9
package_extension: rpm
name: deliver ${{ matrix.distrib }}
steps:
- name: Checkout sources
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Delivery
uses: ./.github/actions/package-delivery
with:
module_name: connector-vmware
distrib: ${{ matrix.distrib }}
cache_key: ${{ github.sha }}-${{ github.run_id }}-${{ matrix.package_extension }}-${{ matrix.distrib }}
stability: ${{ needs.get-environment.outputs.stability }}
release_type: ${{ needs.get-environment.outputs.release_type }}
artifactory_token: ${{ secrets.ARTIFACTORY_ACCESS_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}