From f289a228bf6e47c361bb4ee35c4686dcc9a25ab8 Mon Sep 17 00:00:00 2001 From: LamGC Date: Sat, 18 Mar 2023 23:29:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E4=BA=A4=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check-updates.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-updates.yml b/.github/workflows/check-updates.yml index 305dcf4..fa29503 100644 --- a/.github/workflows/check-updates.yml +++ b/.github/workflows/check-updates.yml @@ -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 \ No newline at end of file