chore: reformat generate-release if statement

This commit is contained in:
inffy 2025-11-19 18:34:06 +02:00 committed by GitHub
parent 7971a96bab
commit 3ea5583798
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ on:
- "**.Brewfile"
- "just/*.just"
schedule:
- cron: "15 1 * * 2" # Every Tuesday at 1:15 AM
- cron: "15 1 * * TUE" # Every Tuesday at 1:15 AM
workflow_call:
workflow_dispatch:

View file

@ -53,7 +53,7 @@ jobs:
- name: Create Release
uses: softprops/action-gh-release@5be0e66d93ac7ed76da52eca8bb058f665c3a5fe # v2
if: contains(fromJson('["stable"]'), matrix.version) && contains(fromJson('["schedule", "workflow_dispatch", "workflow_call"]'), github.event_name)
if: contains(fromJson('["stable"]'), matrix.version) && (github.event.schedule == '15 1 * * TUE' || contains(fromJson('["workflow_dispatch", "workflow_call"]'), github.event_name))
with:
name: ${{ steps.generate-release-text.outputs.title }}
tag_name: ${{ steps.generate-release-text.outputs.tag }}