Skip to content

Commit

Permalink
Correct checkout path for public workers
Browse files Browse the repository at this point in the history
As it's different to where it was coming out on self hosted workers
  • Loading branch information
molepigeon authored Aug 14, 2024
1 parent 0160db9 commit 69a8bd2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/go-portieris.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
path: go/src/github.com/IBM/portieris

- name: Setup correct Go version
uses: actions/setup-go@v2
Expand All @@ -22,13 +24,8 @@ jobs:

- name: alltests
run: |
rm -rf /root/go/src/github.com/IBM
mkdir -p /root/go/src/github.com/IBM/
mv /tmp/github-runner-your-repo/portieris/portieris /root/go/src/github.com/IBM/
cd /root/go/src/github.com/IBM/portieris/
export PATH=$PATH:/usr/local/go/bin/
export GOPATH=$HOME/go
export PATH=$PATH:$HOME/go/bin/
export GOPATH=$GITHUB_WORKSPACE/go
export PATH=$PATH:$GITHUB_WORKSPACE/go/bin/
export TERM=ansi
cd $GITHUB_WORKSPACE/go/src/github.com/IBM/portieris
make alltests
mv /root/go/src/github.com/IBM/portieris/ /tmp/github-runner-your-repo/portieris/

0 comments on commit 69a8bd2

Please sign in to comment.