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: