mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 01:27:29 +08:00
✨ 对lyfunction命令添加鉴权
This commit is contained in:
parent
6496b6e463
commit
def60bf298
21
.github/workflows/add_commit_info.yml
vendored
Normal file
21
.github/workflows/add_commit_info.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user