File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Sync geoip.dat with v2fly
22on :
33 schedule :
44 - cron : " 0 1 * * 4"
5+ push :
6+ branches :
7+ - master
8+ paths-ignore :
9+ - " **/README.md"
510jobs :
611 sync :
712 runs-on : ubuntu-latest
@@ -44,24 +49,24 @@ jobs:
4449 draft : false
4550 prerelease : false
4651
47- - name : Upload dlc .dat
52+ - name : Upload geoip .dat
4853 if : ${{ env.NeedToSync }}
4954 uses : actions/upload-release-asset@v1
5055 env :
5156 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5257 with :
5358 upload_url : ${{ steps.create_release.outputs.upload_url }}
54- asset_path : ./dlc .dat
55- asset_name : dlc .dat
59+ asset_path : ./geoip .dat
60+ asset_name : geoip .dat
5661 asset_content_type : application/octet-stream
5762
58- - name : Upload dlc .dat.sha256sum
63+ - name : Upload geoip .dat.sha256sum
5964 if : ${{ env.NeedToSync }}
6065 uses : actions/upload-release-asset@v1
6166 env :
6267 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6368 with :
6469 upload_url : ${{ steps.create_release.outputs.upload_url }}
65- asset_path : ./dlc .dat.sha256sum
66- asset_name : dlc .dat.sha256sum
70+ asset_path : ./geoip .dat.sha256sum
71+ asset_name : geoip .dat.sha256sum
6772 asset_content_type : text/plain
You can’t perform that action at this time.
0 commit comments