-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (25 loc) · 849 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI
on:
workflow_dispatch:
jobs:
update_version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Update KeepAlive.txt
run: |
echo $(cat /proc/sys/kernel/random/uuid) > KeepAlive.txt
- name: Commit file KeepAlive.txt
# env:
# GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
# echo "$GITHUB_CONTEXT"
bash script/ci_commit_with_signature.sh \
${{ secrets.GITHUB_TOKEN }} \
${{ github.repository }} \
${{ github.ref_name }} \
${{ github.sha }} \
"KeepAlive.txt" \
"KeepAlive.txt Update to version $(TZ='Asia/Shanghai' date +'%Y-%m-%d')" \
"Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"