优化提交信息。

This commit is contained in:
LamGC 2023-03-18 23:29:15 +08:00
parent 826c7d738d
commit f289a228bf
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -19,9 +19,12 @@ jobs:
uses: actions/checkout@v3
- name: Check updates
run: chmod +x ./update-version.sh && ./update-version.sh
- name: Get latest version
id: latest-version
run: echo "::set-output name=version::$(cat LATEST_VERSION)"
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update LATEST_VERSION
commit_message: Update LATEST_VERSION to ${{ steps.latest-version.outputs.version }}
commit_options: '--no-verify'
file_pattern: LATEST_VERSION