Skip to content

Commit

Permalink
ci: try to fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
scarf005 committed Nov 13, 2023
1 parent 540c79a commit 0142f64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0142f64

Please sign in to comment.