File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 17
17
with :
18
18
go-version : ' 1.15'
19
19
- uses : jfrog/setup-jfrog-cli@v1
20
- - run : go run scripts/build/main.go
20
+ - id : gobuild
21
+ run : go run scripts/build/main.go
22
+ - run : echo ${{steps.gobuild.outputs.version}}
21
23
- run : zip -X -j sqlc-devel-darwin-amd64.zip ./sqlc
22
24
- run : tar -zcvf sqlc-devel-darwin-amd64.tar.gz ./sqlc
23
25
- run : jfrog bt upload --user kyleconroy --key "$BINTRAY_API_KEY" --publish --override "sqlc-devel-darwin-amd64.*" sqlc/devel/sqlc/"$GITHUB_SHA" "$GITHUB_SHA"/
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ func main() {
26
26
version = fmt .Sprintf ("v0.0.0-%s-%s" , date , sha [:12 ])
27
27
}
28
28
29
+ fmt .Printf ("::set-output name=version::%s\n " , version )
30
+
29
31
x := "-X github.com/kyleconroy/sqlc/internal/cmd.version=" + version
30
32
args := []string {
31
33
"build" ,
You can’t perform that action at this time.
0 commit comments