mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-12-26 04:54:13 +08:00
Add upload artifact function
This commit is contained in:
parent
aa363d2d75
commit
72d7e3f1b4
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -127,8 +127,15 @@ jobs:
|
|||||||
echo "::set-env name=NAME::Released on $(date +%Y%m%d%H%M)"
|
echo "::set-env name=NAME::Released on $(date +%Y%m%d%H%M)"
|
||||||
echo "::set-env name=TAG_NAME::$(date +%Y%m%d%H%M)"
|
echo "::set-env name=TAG_NAME::$(date +%Y%m%d%H%M)"
|
||||||
|
|
||||||
- name: Release
|
- name: Release dat files
|
||||||
uses: Ricky-Hao/action-release@master
|
uses: Ricky-Hao/action-release@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
ASSET_PATH: publish
|
ASSET_PATH: publish
|
||||||
|
|
||||||
|
- name: Upload dat files
|
||||||
|
uses: actions/upload-artifact@master
|
||||||
|
if: success()
|
||||||
|
with:
|
||||||
|
name: dat_files
|
||||||
|
path: publish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user