From 911fa80815996325ef13e0053cb05b2af8eeabbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=90=E6=AE=87?= <95160953+xishang0128@users.noreply.github.com> Date: Mon, 10 Apr 2023 01:21:18 +0800 Subject: [PATCH] Update run.yml --- .github/workflows/run.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 49607235ec..a3b4ac0473 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -195,10 +195,8 @@ jobs: NO_SKIP: true run: | cd sing-geosite || exit 1 - sed -i 's/geosite-v2fly\.db/geosite.db/g' main.go - sed -i 's/v2fly\/domain-list-community/xishang0128\/meta-rules-dat/g' main.go - sed -i 's/dlc/geosite/g' main.go - go run -v . + cp ../custom/publish/geosite.dat ./ + go run -v . geosite.dat geosite.db - name: Checkout SagerNet/sing-geoip uses: actions/checkout@v3 @@ -234,17 +232,6 @@ jobs: tag: latest deleteOnlyFromDrafts: false - - name: Release - uses: softprops/action-gh-release@v0.1.6 - with: - name: ${{ env.RELEASE_NAME }} - tag_name: ${{ env.TAG_NAME }} - draft: false - prerelease: false - files: | - ./publish/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Release and upload assets uses: softprops/action-gh-release@v0.1.6