Skip to content

Commit 6e6495b

Browse files
authored
Merge pull request #379 from appbaseio/fix/bash-exec
Add fixes to make ssh-action work with a different instance
2 parents f1b2677 + fdc7336 commit 6e6495b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/binary-publish.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
5757
VERSION: ${{ github.event.release.tag_name }}
5858
- name: building binaries for eaas deployments
59-
uses: appleboy/ssh-action@v1.0.0
59+
uses: appleboy/ssh-action@v0.1.7
6060
env:
6161
VERSION: ${{ github.event.release.tag_name }}
6262
with:
@@ -69,6 +69,8 @@ jobs:
6969
envs: VERSION
7070
script: |
7171
source ~/.bashrc
72+
export PATH=$PATH:/usr/local/go/bin:/usr/bin
73+
export GOPATH=/home/centos/go
7274
./build.sh ${VERSION}
7375
7476
build-sls:
@@ -94,6 +96,8 @@ jobs:
9496
envs: VERSION
9597
script: |
9698
source ~/.bashrc
99+
export PATH=$PATH:/usr/local/go/bin:/usr/bin
100+
export GOPATH=/home/centos/go
97101
./sls-build.sh ${VERSION} feat/true-sls
98102
99103
send-packer-event-arc:

0 commit comments

Comments
 (0)