Skip to content

Commit

Permalink
Remove the go install from the GitHub runner first
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop committed Jul 22, 2024
1 parent bea8df8 commit dbaf70d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ jobs:
go-version-1_17_13:
if: github.repository_owner == 'aws'
env:
GOROOT: /usr/local/go
GOROOT: "/usr/local/go"
GO_ARCHIVE: "go1.17.13.linux-amd64.tar.gz"
GITHUB_PATH: "/usr/local/go/bin"
runs-on: ubuntu-latest
steps:
- name: Install OS Dependencies
run: |
which go
sudo apt-get update
sudo apt-get -y --no-install-recommends install cmake gcc ninja-build make
sudo rm -rf /usr/local/go
wget -q "https://dl.google.com/go/${GO_ARCHIVE}"
sudo tar -C /usr/local -xf $GO_ARCHIVE
- uses: actions/checkout@v3
Expand Down

0 comments on commit dbaf70d

Please sign in to comment.