Skip to content

Commit

Permalink
try fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoohuang committed May 18, 2023
1 parent 3341585 commit 773bca2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/easyjson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
install: |
apt-get update
apt install -y curl wget make gcc
latestGo=$(curl "https://golang.org/VERSION?m=text")
wget --quiet "https://dl.google.com/go/${latestGo}.linux-${{ matrix.arch }}.tar.gz"
rm -f $(which go)
rm -rf /usr/local/go
tar -C /usr/local -xzf "${latestGo}.linux-${{ matrix.arch }}.tar.gz"
# install: |
# apt-get update
# apt install -y curl wget make gcc
# latestGo=$(curl "https://golang.org/VERSION?m=text")
# wget --quiet "https://dl.google.com/go/${latestGo}.linux-${{ matrix.arch }}.tar.gz"
# rm -f $(which go)
# rm -rf /usr/local/go
# tar -C /usr/local -xzf "${latestGo}.linux-${{ matrix.arch }}.tar.gz"
run: |
export PATH=/usr/local/go/bin:$PATH
export PATH=~/go/bin:$PATH
Expand Down

0 comments on commit 773bca2

Please sign in to comment.