Compare commits

..

1 Commits

Author SHA1 Message Date
loyalsoldier
9a6cef0a0b Add GitHub workflow 2020-07-31 15:08:47 +08:00

View File

@@ -56,7 +56,7 @@ jobs:
- name: Get and add proxy domains into proxy.temp file
run: |
curl -sSL $Loyalsoldier_proxy | perl -ne '/^([-_a-zA-Z0-9]+(\.[-_a-zA-Z0-9]+)+)\n/ && print "$1\n"' > proxy.temp
curl -sSL $v2fly_not_cn | grep -e "^full:" -e "^domain:" | perl -ne 'print if not /(.+\.cn$)/' >> proxy.temp
curl -sSL ${v2fly_not_cn} | grep -e "^full:" -e "^domain:" | awk -F ':' '{print $2}' | perl -ne 'print if not /(.+\.cn$)/' >> proxy.temp
- name: Get and add reject domains into reject.temp file
run: |
@@ -104,7 +104,7 @@ jobs:
- name: Move files to publish directory
run: |
mkdir -p publish
install -p {apple,icloud,google,proxy,direct,reject}.txt ./publish/
install -p {apple,icloud,google,proxy,direct,reject,lancidr}.txt ./publish/
- name: Release and upload assets
uses: softprops/action-gh-release@v1