Skip to content

Commit a1e847b

Browse files
authored
Fix CI workflow (#103)
The description field is not part of the [workflow scheme](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobs) and causes the entire workflow file to be ignored. The `needs` dependencies tried to account for all instances of a matrix job, but should have taken only the generic matrix job name. It will automatically depend on all instances of the matrix job.
1 parent 301a297 commit a1e847b

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ on:
1818
branches:
1919
- main
2020
merge_group:
21-
2221
concurrency:
2322
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2423
cancel-in-progress: true
@@ -29,12 +28,10 @@ jobs:
2928
os: [arm64, amd64]
3029
include:
3130
- os: amd64
32-
name: build/amd64
33-
description: DevContainer (amd64)
31+
name: DevContainer (amd64)
3432
runner: ubuntu-24.04
3533
- os: arm64
36-
name: build/arm64
37-
description: DevContainer (arm64)
34+
name: DevContainer (arm64)
3835
runner: ubuntu-24.04-arm
3936
name: ${{ matrix.name }}
4037
runs-on: ${{ matrix.runner }}
@@ -82,12 +79,10 @@ jobs:
8279
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
8380
./scripts/publish.sh --${{ matrix.os }} "main"
8481
fi
85-
8682
overall-result:
8783
name: build/overall-result
88-
description: Overall Result
8984
runs-on: ubuntu-24.04
90-
needs: [build/amd64, build/arm64]
85+
needs: [build]
9186
if: ${{ !cancelled() }}
9287
steps:
9388
- name: Successful verification
@@ -96,7 +91,6 @@ jobs:
9691
- name: Failing verification
9792
if: ${{ contains(needs.*.result, 'failure') }}
9893
run: exit 1
99-
10094
merge:
10195
name: Merge Labels (main only)
10296
needs: [build]

0 commit comments

Comments
 (0)