Skip to content

Commit

Permalink
Small improve
Browse files Browse the repository at this point in the history
  • Loading branch information
MkQtS authored Nov 1, 2024
1 parent 3a3b3e6 commit f6610c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync-to-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ jobs:
URL='https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo-linux-'$ARCH'-'$MIHOMO_VER'.deb'
# e.g. https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo-linux-amd64-alpha-3e966e8.deb
wget -q -O ./mihomo.deb "$URL"
sudo apt install ./mihomo.deb
sudo apt-get install ./mihomo.deb
rm -f ./mihomo.deb
}
- name: Compile binaries for sing-box/mihomo
run: |
echo 'Compiling sing-box rule-set...'
sing-box rule-set convert --type adguard ./anti-ad-adguard.txt --output ./anti-ad-sing-box.srs
sha256sum ./anti-ad-sing-box.srs
echo 'Compiling mihomo ruleset...'
mihomo convert-ruleset domain yaml ./anti-ad-clash.yaml ./anti-ad-mihomo.mrs
sha256sum ./anti-ad-mihomo.mrs
Expand Down

0 comments on commit f6610c5

Please sign in to comment.