1
0
forked from bot/app

🚀 对lyfunction命令添加鉴权

This commit is contained in:
远野千束 2024-06-01 15:05:45 +08:00
parent def60bf298
commit 9b50b719d9

View File

@ -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