mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-10 16:05:42 +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…
Reference in New Issue
Block a user