Skip to content

.github/workflows/mq-infra.yaml: why are they cancelling? #5

.github/workflows/mq-infra.yaml: why are they cancelling?

.github/workflows/mq-infra.yaml: why are they cancelling? #5

Workflow file for this run

name: message-queue cpp CI
on:
push:
paths:
- "message-queue/**"
- ".github/**"
concurrency:
# Automatically cancel workflows if newer workflow started for the same
# branch
group: mq-cpp-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
common:
if: true
uses: ./.github/workflows/mq-infra.yaml
secrets: inherit
build-producer-cpp-dev:
if: true
needs: common
runs-on: ubuntu-latest
env:
X: ${{ github.workflow }}
steps:
- name: foo
runs: "echo $X"
- uses: actions/checkout@v4
- uses: "./.github/actions/build-image"
with:
image: producer-cpp-dev
dir: message-queue
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_pass: ${{ secrets.GITHUB_TOKEN }}
base: base-debian
build-producer-cpp:
if: true
needs: build-producer-cpp-dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "./.github/actions/build-image"
with:
image: producer-cpp
dir: message-queue
registry: ghcr.io/${{ github.repository_owner }}
registry_user: ${{ github.actor }}
registry_pass: ${{ secrets.GITHUB_TOKEN }}
base: producer-cpp-dev
test-producer-cpp:
if: true
needs:
- build-producer-cpp
- common
uses: ./.github/workflows/mq-run-test.yaml
with:
name: cpp
secrets: inherit