Remove old go version first
This commit is contained in:
parent
4d28bdeab7
commit
a294a9592e
@ -427,6 +427,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Update Go
|
name: Update Go
|
||||||
command: |
|
command: |
|
||||||
|
sudo rm -rf /usr/local/go && \
|
||||||
curl -L https://golang.org/dl/go1.18.1.linux-amd64.tar.gz -o /tmp/go.tar.gz && \
|
curl -L https://golang.org/dl/go1.18.1.linux-amd64.tar.gz -o /tmp/go.tar.gz && \
|
||||||
sudo tar -C /usr/local -xvf /tmp/go.tar.gz
|
sudo tar -C /usr/local -xvf /tmp/go.tar.gz
|
||||||
- run: go version
|
- run: go version
|
||||||
|
@ -427,6 +427,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Update Go
|
name: Update Go
|
||||||
command: |
|
command: |
|
||||||
|
sudo rm -rf /usr/local/go && \
|
||||||
curl -L https://golang.org/dl/go1.18.1.linux-amd64.tar.gz -o /tmp/go.tar.gz && \
|
curl -L https://golang.org/dl/go1.18.1.linux-amd64.tar.gz -o /tmp/go.tar.gz && \
|
||||||
sudo tar -C /usr/local -xvf /tmp/go.tar.gz
|
sudo tar -C /usr/local -xvf /tmp/go.tar.gz
|
||||||
- run: go version
|
- run: go version
|
||||||
|
Loading…
Reference in New Issue
Block a user