Skip to content

Commit

Permalink
Added proper in place updating of the yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Mar 15, 2024
1 parent ec5d584 commit 1689ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
yq -i '${{ env.SPACK_YAML_MODEL_YQ }} = access-om2@git.${{ steps.bump.outputs.after }}' spack.yaml
yq -i '${{ env.SPACK_YAML_MODEL_PROJECTION_YQ }} = {name}/${{ steps.bump.outputs.after }}' spack.yaml
yq -i '${{ env.SPACK_YAML_MODEL_YQ }} = "access-om2@git.${{ steps.bump.outputs.after }}"' spack.yaml
yq -i '${{ env.SPACK_YAML_MODEL_PROJECTION_YQ }} = "{name}/${{ steps.bump.outputs.after }}"' spack.yaml
git add spack.yaml
git commit -m "spack.yaml: Updated access-om2 package version from ${{ steps.setup.outputs.original-version }} to ${{ steps.bump.outputs.after }}"
git push
Expand Down

0 comments on commit 1689ea3

Please sign in to comment.