From 90a45f4a94f6f4fdf8e81f2f10dff7cafd5ed980 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Fri, 20 Dec 2024 17:33:31 -0500 Subject: [PATCH] chore: convert table to list of strings --- .github/workflows/dockerhub-release-matrix.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerhub-release-matrix.yml b/.github/workflows/dockerhub-release-matrix.yml index c8cd0d3f4..217cd32a2 100644 --- a/.github/workflows/dockerhub-release-matrix.yml +++ b/.github/workflows/dockerhub-release-matrix.yml @@ -181,17 +181,19 @@ jobs: # Parse the matrix configuration directly let matrix_config = ${{ fromJson(needs.prepare.outputs.matrix_config) }} - # Extract the versions as a list let versions = $matrix_config.include | get version echo "Versions: $versions" - let versions_str = ($versions | join ",") + + # Convert the table of versions to a simple list of strings + let versions_str = ($versions | get version | join ",") $"versions=$versions_str" | save --append $env.GITHUB_ENV ' - name: Download Results Artifacts run: | nix run nixpkgs#nushell -- -c ' + # Ensure the versions environment variable is correctly set let versions = env.versions | str split "," foreach $version in $versions { let artifact_name = "merge_results-$version" @@ -202,6 +204,7 @@ jobs: } ' + - name: Combine Results id: combine run: |