Update build.yml

This commit is contained in:
Loyalsoldier 2019-12-11 04:57:55 +08:00 committed by GitHub
parent 30c40ce945
commit e2f8ea527e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}