mirror of
https://github.com/gaoyifan/china-operator-ip.git
synced 2025-07-13 21:02:37 +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:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
- name: Setup Go environment variables
|
with:
|
||||||
run: |
|
go-version: 1.16
|
||||||
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
|
|
||||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
|
||||||
- run: sudo apt-get install -y lftp bgpdump tree
|
- run: sudo apt-get install -y lftp bgpdump tree
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user