Skip to content

Commit

Permalink
Simplify inputs in github workflow
Browse files Browse the repository at this point in the history
Specifying "required: true" and "default: false" on inputs with "type: boolean" does
not change anything. I think they did previously, and that GitHub have improved the
handling, although I could not find any confirmation, other than my own testing.
  • Loading branch information
albertony committed Oct 2, 2024
1 parent 335bc4b commit 7d88e56
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,11 @@ on:
release:
description: Run GoReleaser step
type: boolean
required: true
default: false
# Additional option, when option release is true, to run as snapshot build from
# latest commit instead of latest tag and without publishing as a release.
snapshot:
description: GoReleaser Snapshot mode (latest commit, no publishing)
type: boolean
required: true
default: false

jobs:
build:
Expand Down

0 comments on commit 7d88e56

Please sign in to comment.