From 51f4d9e1be2a774a627bb4705d4c720ab4cd5ea8 Mon Sep 17 00:00:00 2001 From: AirryCo Date: Tue, 26 Nov 2024 20:49:32 +0800 Subject: [PATCH] bug fixed. --- .github/workflows/build-nightly-cron.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-nightly-cron.yaml b/.github/workflows/build-nightly-cron.yaml index 908bfa1..772ae95 100644 --- a/.github/workflows/build-nightly-cron.yaml +++ b/.github/workflows/build-nightly-cron.yaml @@ -61,6 +61,7 @@ jobs: source trigger.fika fika_last_built_hash=${fika:0:8} fika_latest_commit_hash=$(git ls-remote https://github.com/project-fika/Fika-Server.git refs/heads/${{ env.NIGHTLY_BRANCH_FIKA }} | awk '{print $1}') + fika_latest_commit_hash=${fika_latest_commit_hash:0:8}; if [ "$fika_last_built_hash" != "$fika_latest_commit_hash" ]; then if [ ${{ steps.compare-hash.outputs.PROCEED }} == 'false' ]; then echo "✅ There is different between fika-built-hash and fika-commit-hash, continue to build."