Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 18, 2022
1 parent 5bcc7b9 commit 2476661
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,5 @@ jobs:
- name: Protoc version
run: PATH=$HOME/bin:$PATH protoc --version

- name: env
run: env && go env && pwd

- name: Build server all
run: make buildserverall
run: PATH=$HOME/bin:$PATH make buildserverall
5 changes: 4 additions & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ import (
)

func Get() string {
versionBytes, _ := exec.Command("protoc", "--version").CombinedOutput()
versionBytes, err := exec.Command("protoc", "--version").CombinedOutput()
if err != nil {
panic(err)
}
version := strings.TrimSpace(string(versionBytes))
versions := strings.Split(version, " ")
if len(versions) != 2 {
Expand Down

0 comments on commit 2476661

Please sign in to comment.