mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-07-13 12:52:36 +08:00
workflows: set PATH by actions/setup-go@v2
This commit is contained in:
parent
1f899ff241
commit
8fe8db59b0
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -22,10 +22,8 @@ jobs:
|
||||
with:
|
||||
toolchain: stable
|
||||
- uses: actions/setup-go@v2
|
||||
- name: Setup Go environment variables
|
||||
run: |
|
||||
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
|
||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
with:
|
||||
go-version: 1.16
|
||||
- run: sudo apt-get install -y lftp bgpdump tree
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user