From 82f620a90dde4340c01934a0667862b07c4360ba Mon Sep 17 00:00:00 2001 From: Deepjyoti Barman Date: Mon, 30 Oct 2023 20:48:47 +0530 Subject: [PATCH] Add extra steps to run the command properly --- .github/workflows/binary-publish.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/binary-publish.yml b/.github/workflows/binary-publish.yml index 57669a83..df5c23f0 100644 --- a/.github/workflows/binary-publish.yml +++ b/.github/workflows/binary-publish.yml @@ -47,7 +47,9 @@ jobs: envs: VERSION script: | source ~/.bashrc - sh build.sh ${VERSION} + export PATH=$PATH:/usr/local/go/bin:/usr/bin + export GOPATH=/home/centos/go + ./build.sh ${VERSION} build-sls: name: Build SLS binary @@ -71,7 +73,9 @@ jobs: command_timeout: 3600s envs: VERSION script: | - exec bash + source ~/.bashrc + export PATH=$PATH:/usr/local/go/bin:/usr/bin + export GOPATH=/home/centos/go ./sls-build.sh ${VERSION} feat/true-sls send-packer-event-arc: