File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,16 +38,17 @@ jobs:
3838 run : |
3939 version=$(awk -F'[<>]' '/gapic-showcase.version/{print $3; exit}' java-showcase/gapic-showcase/pom.xml)
4040 echo "version=$version" >> "$GITHUB_OUTPUT"
41+ - name : Set up Go
42+ uses : actions/setup-go@v5
43+ with :
44+ go-version : ' 1.24'
4145 - name : Extract showcase commit from librarian.yaml
4246 id : extract_commit
4347 shell : bash
4448 run : |
45- commit=$(grep -A 1 "showcase:" librarian.yaml | grep "commit:" | awk '{print $2}')
49+ version=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
50+ commit=$(go run "github.com/googleapis/librarian/cmd/librarian@${version}" config get sources.showcase.commit)
4651 echo "commit=$commit" >> "$GITHUB_OUTPUT"
47- - name : Set up Go
48- uses : actions/setup-go@v5
49- with :
50- go-version : ' 1.24'
5152 - name : Verify showcase version and commit match
5253 shell : bash
5354 run : |
You can’t perform that action at this time.
0 commit comments