Skip to content

Commit

Permalink
ci(release): rm job input && cond expr
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <me@dw1.io>
  • Loading branch information
dwisiswant0 committed Mar 22, 2024
1 parent b9c0098 commit 94898b8
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ on:
description: "Target tag to release/publish"
required: true
type: string
job:
description: "Choose job to run"
required: true
default: 'both'
type: choice
options:
- both
- release
- publish

env:
PGO_FILE: "default.pgo"
Expand All @@ -28,16 +19,6 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/goreleaser/goreleaser-cross:latest
if: >
(
github.event_name == 'push' ||
(
github.event_name == 'workflow_dispatch' &&
(
inputs.job == 'release' || inputs.job == 'both'
)
)
)
steps:
- uses: actions/checkout@master
with:
Expand Down

0 comments on commit 94898b8

Please sign in to comment.