Skip to content

Commit 82f620a

Browse files
committed
Add extra steps to run the command properly
1 parent e862640 commit 82f620a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/binary-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
envs: VERSION
4848
script: |
4949
source ~/.bashrc
50-
sh build.sh ${VERSION}
50+
export PATH=$PATH:/usr/local/go/bin:/usr/bin
51+
export GOPATH=/home/centos/go
52+
./build.sh ${VERSION}
5153
5254
build-sls:
5355
name: Build SLS binary
@@ -71,7 +73,9 @@ jobs:
7173
command_timeout: 3600s
7274
envs: VERSION
7375
script: |
74-
exec bash
76+
source ~/.bashrc
77+
export PATH=$PATH:/usr/local/go/bin:/usr/bin
78+
export GOPATH=/home/centos/go
7579
./sls-build.sh ${VERSION} feat/true-sls
7680
7781
send-packer-event-arc:

0 commit comments

Comments
 (0)