🚀 对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: | 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