对lyfunction命令添加鉴权

This commit is contained in:
远野千束 2024-06-01 15:01:14 +08:00
parent 6496b6e463
commit def60bf298

21
.github/workflows/add_commit_info.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Record Commit Hash
on: [push]
jobs:
record-hash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Record commit hash
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