mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-28 16:24:51 +08:00
🚀 对lyfunction命令添加鉴权
This commit is contained in:
parent
def60bf298
commit
9b50b719d9
12
.github/workflows/add_commit_info.yml
vendored
12
.github/workflows/add_commit_info.yml
vendored
@ -14,8 +14,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo $(git rev-parse HEAD) > liteyuki/resources/vanilla_resource/commit.txt
|
echo $(git rev-parse HEAD) > liteyuki/resources/vanilla_resource/commit.txt
|
||||||
|
|
||||||
- name: Upload commit hash
|
- name: Commit and push
|
||||||
uses: actions/upload-artifact@v2
|
run: |
|
||||||
with:
|
git config --local user.email "action@github.com"
|
||||||
name: commit-hash
|
git config --local user.name "GitHub Action"
|
||||||
path: liteyuki/resources/vanilla_resource/commit.txt
|
git add liteyuki/resources/vanilla_resource/commit.txt
|
||||||
|
git commit -m ":rocket: Record commit hash"
|
||||||
|
git push
|
Loading…
Reference in New Issue
Block a user