mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-13 04:55:35 +08:00
Update run.yml
This commit is contained in:
parent
88274fba4d
commit
01288a631d
14
.github/workflows/run.yml
vendored
14
.github/workflows/run.yml
vendored
@ -196,7 +196,7 @@ jobs:
|
||||
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/v2fly\/domain-list-community/Loyalsoldier\/v2ray-rules-dat/g' main.go
|
||||
sed -i 's/dlc/geosite/g' main.go
|
||||
go run -v .
|
||||
|
||||
@ -234,6 +234,18 @@ 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
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user