Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Nov 1, 2023
1 parent a5117c9 commit f9627bd
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]') \
Expand Down

0 comments on commit f9627bd

Please sign in to comment.