mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-23 18:55:34 +08:00
Update build.yml
This commit is contained in:
parent
30c40ce945
commit
e2f8ea527e
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: Build V2Ray rules dat files
|
name: Build V2Ray rules dat files
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "* * * * *"
|
- cron: "0 0 */1 * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -41,10 +41,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload dat files to release
|
- name: Upload dat files to release
|
||||||
uses: svenstaro/upload-release-action@v1-release
|
uses: svenstaro/upload-release-action@v1-release
|
||||||
|
env:
|
||||||
|
tagTime: ${{ true && date '+%y%m%d%H%M' }}
|
||||||
with:
|
with:
|
||||||
file: /home/runner/work/v2ray-rules-dat/v2ray-rules-dat/v2ray/${{ matrix.artifact_name }}
|
file: /home/runner/work/v2ray-rules-dat/v2ray-rules-dat/v2ray/${{ matrix.artifact_name }}
|
||||||
asset_name: ${{ matrix.asset_name }}
|
asset_name: ${{ matrix.asset_name }}
|
||||||
tag: ${{ github.ref }}
|
# tag: ${{ github.ref }}
|
||||||
|
tag: ${{ tagTime }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user