From f9627bd4ba6c5a1e3a0c61da3c865009892ce4cf Mon Sep 17 00:00:00 2001 From: Fabrice Brito Date: Wed, 1 Nov 2023 12:29:51 +0100 Subject: [PATCH] CI fix --- .github/workflows/build.yaml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6cbb5ee..08f56c3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -83,21 +83,11 @@ jobs: s="${step}" t="${shatag}" yq -i eval '(.$graph[] | select (.id == env(s)) ).hints.DockerRequirement.dockerPull = env(t)' $cwl done done - - run: | - code_repository=$( cat codemeta.json | jq -r ".codeRepository" ) - for cwl in $(ls cwl-workflow/*.cwl) - do - r="${code_repository}" yq -i eval '."s:codeRepository" = {"URL" : env(r)}' $cwl - done - - run: | - software_version=${{needs.version.outputs.app-version}} - for cwl in $(ls cwl-workflow/*.cwl) - do - v="${software_version}" yq -i eval '."s:softwareVersion" = env(v)' $cwl - done - run: | for cwl in $(ls cwl-workflow/*.cwl) do + r=$( cat codemeta.json | jq -r ".codeRepository" ) yq -i eval '."s:codeRepository" = {"URL" : env(r)}' $cwl + v="${{needs.version.outputs.app-version}}" yq -i eval '."s:softwareVersion" = env(v)' $cwl n=$(cat codemeta.json | jq -r '(.author[0].givenName + " " + .author[0].familyName)') \ e=$(cat codemeta.json | jq -r '.author[0].email') \ a=$(cat codemeta.json | jq -r '.author[0].affiliation["name"]') \