Skip to content

Commit 7db655e

Browse files
committed
ci: fix release build
1 parent 5351af7 commit 7db655e

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
applyTo: ".github/workflows/*.{yml,yaml}"
2+
applyTo: ".github/workflows/*.yml"
33
---
44

5-
# GitHub Actions Guidelines
5+
# GitHub Workflows Guidelines
66

77
When writing GitHub Action workflows, ensure that:
88

9-
- Workflows that have a workflow_call trigger have the file name prefixed with `wc-`.
9+
- Workflows that have a workflow_call trigger have their filename prefixed with `wc-`.
1010
- For all re-usable workflows, only the top-level workflow (workflows that are not called themselves by other workflows with workflow_call) has defaults and descriptions for inputs to avoid duplication.
1111
- The sorting order for inputs, secrets, and outputs is alphabetical.
1212
- The sorting order of other keys is consistent across the repository.

.github/workflows/release-build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ permissions: {}
1616

1717
jobs:
1818
build-push-test:
19-
uses: ./.github/workflows/wc-build-push-test-flavor.yml
19+
name: Build, Push and Test (🍨 ${{ matrix.flavor }})
20+
strategy:
21+
matrix:
22+
flavor: [cpp, rust]
23+
uses: ./.github/workflows/wc-build-push-test.yml
2024
secrets:
2125
TEST_GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}
2226
TEST_GITHUB_USER: ${{ secrets.TEST_GITHUB_USER }}
@@ -30,6 +34,13 @@ jobs:
3034
id-token: write
3135
packages: write
3236
pull-requests: write
37+
with:
38+
devcontainer-metadata-file: .devcontainer/${{ matrix.flavor }}/devcontainer-metadata.json
39+
dockerfile: .devcontainer/${{ matrix.flavor }}/Dockerfile
40+
image-name: ${{ github.repository }}-${{ matrix.flavor }}
41+
integration-test-file: test/${{ matrix.flavor }}/integration-tests.bats
42+
acceptance-test-path: ${{ matrix.flavor == 'cpp' && 'test/cpp/features' || '' }}
43+
test-devcontainer-file: ${{ matrix.flavor == 'cpp' && '.devcontainer/cpp-test/devcontainer.json' || '' }}
3344
apply-release-notes-template:
3445
runs-on: ubuntu-latest
3546
permissions:

0 commit comments

Comments
 (0)