mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-29 19:44:14 +08:00
Update run.yml
This commit is contained in:
parent
a4b9b0daa7
commit
911fa80815
17
.github/workflows/run.yml
vendored
17
.github/workflows/run.yml
vendored
@ -195,10 +195,8 @@ jobs:
|
|||||||
NO_SKIP: true
|
NO_SKIP: true
|
||||||
run: |
|
run: |
|
||||||
cd sing-geosite || exit 1
|
cd sing-geosite || exit 1
|
||||||
sed -i 's/geosite-v2fly\.db/geosite.db/g' main.go
|
cp ../custom/publish/geosite.dat ./
|
||||||
sed -i 's/v2fly\/domain-list-community/xishang0128\/meta-rules-dat/g' main.go
|
go run -v . geosite.dat geosite.db
|
||||||
sed -i 's/dlc/geosite/g' main.go
|
|
||||||
go run -v .
|
|
||||||
|
|
||||||
- name: Checkout SagerNet/sing-geoip
|
- name: Checkout SagerNet/sing-geoip
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -234,17 +232,6 @@ jobs:
|
|||||||
tag: latest
|
tag: latest
|
||||||
deleteOnlyFromDrafts: false
|
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
|
- name: Release and upload assets
|
||||||
uses: softprops/action-gh-release@v0.1.6
|
uses: softprops/action-gh-release@v0.1.6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user