Skip to content

Commit 23157ae

Browse files
Merge pull request #1991 from priyanshuone6/fix_auto_release
Fix create_release workflow
2 parents d0b5beb + d3131ba commit 23157ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/create_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
echo "TODAY=$(date +'%d')" >> $GITHUB_ENV
2626
2727
- name: Fail the job if date < 20
28-
if: ${{ env.TODAY }} < 20
28+
if: env.TODAY < 20
2929
uses: actions/github-script@v5
3030
with:
3131
script: core.setFailed('This workflow should be triggered only at the end of the month, or else it will create a release for the wrong month.')

0 commit comments

Comments
 (0)