mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-26 14:05:03 +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: |
|
||||
echo $(git rev-parse HEAD) > liteyuki/resources/vanilla_resource/commit.txt
|
||||
|
||||
- name: Upload commit hash
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: commit-hash
|
||||
path: liteyuki/resources/vanilla_resource/commit.txt
|
||||
- name: Commit and push
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
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