Skip to content

Commit cf3a474

Browse files
committed
use snake_case for output variables
1 parent e410ef6 commit cf3a474

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/build-deps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Prepare Build
1919
runs-on: ubuntu-24.04
2020
outputs:
21-
dockerDistros: ${{ steps.set_matrix.outputs.dockerDistros }}
21+
docker_distros: ${{ steps.set_matrix.outputs.docker_distros }}
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v4
@@ -55,12 +55,12 @@ jobs:
5555
with:
5656
runner: ${{ matrix.runner }}
5757
arch: ${{ matrix.arch }}
58-
docker_distros: ${{ needs.prepare.outputs.dockerDistros }}
58+
docker_distros: ${{ needs.prepare.outputs.docker_distros }}
5959

6060
build_deps_manifests:
6161
name: Build Deps Manifests
6262
secrets: inherit
6363
needs: [ prepare, build_deps ]
6464
uses: ./.github/workflows/_build-deps-manifest.yml
6565
with:
66-
docker_distros: ${{ needs.prepare.outputs.dockerDistros }}
66+
docker_distros: ${{ needs.prepare.outputs.docker_distros }}

.github/workflows/build-images.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
name: Prepare Build
1212
runs-on: ubuntu-24.04
1313
outputs:
14-
dockerDistros: ${{ steps.set_matrix.outputs.dockerDistros }}
15-
dotnetVersions: ${{ steps.set_matrix.outputs.dotnetVersions }}
16-
dotnetVariants: ${{ steps.set_matrix.outputs.dotnetVariants }}
14+
docker_distros: ${{ steps.set_matrix.outputs.docker_distros }}
15+
dotnet_versions: ${{ steps.set_matrix.outputs.dotnet_versions }}
16+
dotnet_variants: ${{ steps.set_matrix.outputs.dotnet_variants }}
1717
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
1818
steps:
1919
- name: Checkout
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
dotnet_variant: ${{ fromJson(needs.prepare.outputs.dotnetVariants) }}
45+
dotnet_variant: ${{ fromJson(needs.prepare.outputs.dotnet_variants) }}
4646
arch: [ amd64, arm64 ]
4747
runner: [ ubuntu-24.04, ubuntu-24.04-arm ]
4848
exclude:
@@ -56,8 +56,8 @@ jobs:
5656
runner: ${{ matrix.runner }}
5757
arch: ${{ matrix.arch }}
5858
dotnet_variant: ${{ matrix.dotnet_variant }}
59-
dotnet_versions: ${{ needs.prepare.outputs.dotnetVersions }}
60-
docker_distros: ${{ needs.prepare.outputs.dockerDistros }}
59+
dotnet_versions: ${{ needs.prepare.outputs.dotnet_versions }}
60+
docker_distros: ${{ needs.prepare.outputs.docker_distros }}
6161

6262
build_images_manifest:
6363
name: Build Images Manifest (${{ matrix.dotnet_variant }})
@@ -66,11 +66,11 @@ jobs:
6666
strategy:
6767
fail-fast: false
6868
matrix:
69-
dotnet_variant: ${{ fromJson(needs.prepare.outputs.dotnetVariants) }}
69+
dotnet_variant: ${{ fromJson(needs.prepare.outputs.dotnet_variants) }}
7070

7171
uses: ./.github/workflows/_build-images-manifest.yml
7272
with:
7373
runner: ${{ matrix.runner }}
7474
dotnet_variant: ${{ matrix.dotnet_variant }}
75-
dotnet_versions: ${{ needs.prepare.outputs.dotnetVersions }}
76-
docker_distros: ${{ needs.prepare.outputs.dockerDistros }}
75+
dotnet_versions: ${{ needs.prepare.outputs.dotnet_versions }}
76+
docker_distros: ${{ needs.prepare.outputs.docker_distros }}

build/build/Tasks/SetMatrix.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ public override void Run(BuildContext context)
88
{
99
if (context.BuildSystem().IsRunningOnGitHubActions)
1010
{
11-
context.GitHubActions().Commands.SetOutputParameter("dockerDistros", context.SerializeJson(Constants.DockerDistros));
12-
context.GitHubActions().Commands.SetOutputParameter("dotnetVersions", context.SerializeJson(Constants.DotnetVersions));
13-
context.GitHubActions().Commands.SetOutputParameter("dotnetVariants", context.SerializeJson(Constants.DotnetVariants));
11+
context.GitHubActions().Commands.SetOutputParameter("docker_distros", context.SerializeJson(Constants.DockerDistros));
12+
context.GitHubActions().Commands.SetOutputParameter("dotnet_versions", context.SerializeJson(Constants.DotnetVersions));
13+
context.GitHubActions().Commands.SetOutputParameter("dotnet_variants", context.SerializeJson(Constants.DotnetVariants));
1414
}
1515
else
1616
{

0 commit comments

Comments
 (0)