chore: reformat generate-release if statement
This commit is contained in:
parent
7971a96bab
commit
3ea5583798
2 changed files with 2 additions and 2 deletions
2
.github/workflows/build-image-stable.yml
vendored
2
.github/workflows/build-image-stable.yml
vendored
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
2
.github/workflows/generate-release.yml
vendored
2
.github/workflows/generate-release.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue