mirror of
https://github.com/v2fly/domain-list-community.git
synced 2024-11-16 17:14:52 +02:00
Make forked repo use its own data folder by default
This commit is contained in:
parent
80c5fb715a
commit
770d400484
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
run: |
|
||||
echo "::set-env name=RELEASE_NAME::$(date +%Y%m%d%H%M)"
|
||||
echo "::set-env name=TAG_NAME::$(date +%Y%m%d%H%M)"
|
||||
echo "::set-env name=REPO_URL::github.com/v2ray/domain-list-community"
|
||||
echo "::set-env name=REPO_URL::github.com/${{ github.repository }}"
|
||||
echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)"
|
||||
echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin"
|
||||
shell: bash
|
||||
@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
- name: Build dlc.dat file
|
||||
run: |
|
||||
domain-list-community
|
||||
domain-list-community --datapath=${{ env.GOPATH }}/src/${{ env.REPO_URL }}/data
|
||||
|
||||
- name: Generate dlc.dat sha256 hash
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user