File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ jobs:
2626 - name : Config check
2727 if : steps.filter.outputs.librarian == 'true'
2828 run : |
29- V="$(sed -n 's/^version: *//p' librarian.yaml)"
29+ V=$(go run github.com/googleapis/librarian/cmd/ librarian@latest config get version)
3030 go run "github.com/googleapis/librarian/tool/cmd/configcheck@${V}" .
3131 - name : Update library versions and regenerate
32- if : failure()
32+ if : steps.config-check.outcome == ' failure'
3333 run : |
3434 echo "Library configuration is different between state.yaml and librarian.yaml.
3535 Update library configuration in the configs according to the error message and
3636 regenerate libraries using:
3737
38- V=\$(sed -n 's/^version: *//p' librarian.yaml )
38+ V=$(go run github.com/googleapis/librarian/cmd/ librarian@latest config get version )
3939 go run github.com/googleapis/librarian/cmd/librarian@\${V} generate --all
4040 "
You can’t perform that action at this time.
0 commit comments