add azure pipeline config
This commit is contained in:
parent
70e8fa83a9
commit
ed3ad97d3e
30
azure-pipelines.yml
Normal file
30
azure-pipelines.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
jobs:
|
||||||
|
- job: build_geosite
|
||||||
|
timeoutInMinutes: 30
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-16.04'
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GOPATH: '$(system.defaultWorkingDirectory)'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- checkout: none
|
||||||
|
- task: GoTool@0
|
||||||
|
inputs:
|
||||||
|
version: '1.11.2'
|
||||||
|
- script: |
|
||||||
|
go version
|
||||||
|
go get -v -t -d github.com/v2ray/domain-list-community/...
|
||||||
|
go run github.com/v2ray/domain-list-community/main.go
|
||||||
|
workingDirectory: '$(system.defaultWorkingDirectory)'
|
||||||
|
displayName: 'Generate'
|
||||||
|
- task: CopyFiles@2
|
||||||
|
inputs:
|
||||||
|
sourceFolder: '$(system.defaultworkingdirectory)'
|
||||||
|
contents: 'dlc.dat'
|
||||||
|
targetFolder: '$(build.artifactStagingDirectory)'
|
||||||
|
- task: PublishBuildArtifacts@1
|
||||||
|
displayName: 'Publish Artifact'
|
||||||
|
inputs:
|
||||||
|
PathtoPublish: '$(build.artifactstagingdirectory)'
|
7761
gfwlist.txt
Normal file
7761
gfwlist.txt
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user