From 6c24619120dd27c9a12d7c1f3899eac70ef7cec6 Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Mon, 5 Feb 2024 18:27:12 +0100 Subject: [PATCH] Fixup naming and produce valid JSON --- .github/workflows/tmt.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tmt.yml b/.github/workflows/tmt.yml index 77c8c35b..559a9802 100644 --- a/.github/workflows/tmt.yml +++ b/.github/workflows/tmt.yml @@ -17,12 +17,12 @@ permissions: actions: write jobs: - osversions: + get-os-versions-job: runs-on: ubuntu-latest container: image: "fedora:rawhide" outputs: - matrix: ${{ steps.osversions.outputs.osversions }} + matrix: ${{ steps.get-os-versions-step.outputs.os_versions }} steps: - uses: actions/checkout@v4 @@ -39,20 +39,20 @@ jobs: run: | dnf install -y copr-cli - - id: osversions + - id: get-os-versions-step shell: bash -e {0} run: | source scripts/functions.sh # Get OS versions comma separated with properly quoted rawhide - echo osversions=`get_os_versions | paste -sd "," - | sed 's/rawhide/"rawhide"/'` >> $GITHUB_OUTPUT + echo os_versions="[`get_os_versions | paste -sd "," - | sed 's/rawhide/\"rawhide\"/'`]" >> $GITHUB_OUTPUT run-tmt: - needs: osversions + needs: get-os-versions-job strategy: fail-fast: false matrix: os: [fedora] - version: ${{ fromJSON(needs.osversions.outputs.osversions) }} + version: ${{ fromJSON(needs.get-os-versions-job.outputs.os_versions) }} strategy: [standalone, big-merge, bootstrap] include: - strategy: standalone