bug fixed.
This commit is contained in:
1
.github/workflows/build-nightly-cron.yaml
vendored
1
.github/workflows/build-nightly-cron.yaml
vendored
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user