From 0142f6485e041e1c9cb5766981a521622e5f7d27 Mon Sep 17 00:00:00 2001 From: scarf Date: Mon, 13 Nov 2023 12:12:28 +0900 Subject: [PATCH] ci: try to fix if condition --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5fd73b1b3586..590689910b5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,12 @@ jobs: - id: yesterday run: | COMMITS=$(git log --oneline --since=$(date -u --iso-8601 --date='1 day ago') | wc -l) + echo "count=$COMMITS" echo "count=$COMMITS" >> $GITHUB_ENV release: needs: commits - if: fromJSON(needs.commits.outputs.count) > 0 + if: needs.commits.outputs.count > 0 name: Create Release runs-on: ubuntu-22.04 outputs: