fixed tag generating method

This commit is contained in:
loyalsoldier 2019-12-11 05:13:19 +08:00
parent 785457c4a1
commit 672683e5e6

View File

@ -41,13 +41,11 @@ 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: ${{ hashFiles('v2ray/*.dat') }}
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 }} tag: ${{ hashFiles('v2ray/*.dat') }}
overwrite: true overwrite: true
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}