mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-10 02:55:34 +08:00
fixed GOPATH
This commit is contained in:
parent
24e3297c2e
commit
3a00e5a9ba
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -26,7 +26,19 @@ jobs:
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: Debug
|
||||
run: |
|
||||
pwd
|
||||
echo ${HOME}
|
||||
echo ${GITHUB_WORKSPACE}
|
||||
echo ${GOPATH}
|
||||
echo ${GOROOT}
|
||||
env:
|
||||
GOPATH: /home/runner/work/v2ray-rules-dat/go
|
||||
|
||||
# - name: Set GOPATH
|
||||
# run: |
|
||||
@ -47,7 +59,7 @@ jobs:
|
||||
- name: Upload dat files to release
|
||||
uses: svenstaro/upload-release-action@v1-release
|
||||
with:
|
||||
file: $GITHUB_WORKSPACE/v2ray/${{ matrix.artifact_name }}
|
||||
file: $GOPATH/v2ray/${{ matrix.artifact_name }}
|
||||
asset_name: ${{ matrix.asset_name }}
|
||||
tag: latest
|
||||
overwrite: true
|
||||
|
@ -5,8 +5,7 @@ set -e
|
||||
GREEN='\033[0;32m'
|
||||
NC='\033[0m' # no color
|
||||
|
||||
# GOPATH=$(mktemp -d)
|
||||
# export GOPATH=$GOPATH
|
||||
export GOPATH=$GOPATH
|
||||
V2RAY_FOLDER="$GOPATH/v2ray"
|
||||
|
||||
mkdir -p $V2RAY_FOLDER
|
||||
|
Loading…
Reference in New Issue
Block a user