bug fixed.

This commit is contained in:
AirryCo
2024-11-26 20:49:32 +08:00
parent 3efa1c8fad
commit 51f4d9e1be

View File

@@ -61,6 +61,7 @@ jobs:
source trigger.fika source trigger.fika
fika_last_built_hash=${fika:0:8} 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=$(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 [ "$fika_last_built_hash" != "$fika_latest_commit_hash" ]; then
if [ ${{ steps.compare-hash.outputs.PROCEED }} == 'false' ]; then if [ ${{ steps.compare-hash.outputs.PROCEED }} == 'false' ]; then
echo "✅ There is different between fika-built-hash and fika-commit-hash, continue to build." echo "✅ There is different between fika-built-hash and fika-commit-hash, continue to build."