Merge pull request #458 from Loyalsoldier/update-workflow
Update workflow
This commit is contained in:
commit
480121376a
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -5,6 +5,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**/README.md"
|
||||
- ".github/**"
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
@ -20,7 +23,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 +34,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…
x
Reference in New Issue
Block a user