Skip to content

Commit

Permalink
ci: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dmke committed Apr 26, 2022
1 parent 8c1f4a7 commit fa1c31b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Create Github release
runs-on: ubuntu-latest

if: inputs.releaseType == 'release' && inputs.goreleaser
if: github.event.inputs.releaseType == 'release' && github.event.inputs.goreleaser

steps:
- name: Checkout code
Expand Down Expand Up @@ -78,7 +78,6 @@ jobs:
with:
script: |
const isRelease = context.payload.inputs.releaseType === 'release' ? '1' : '0'
return { isRelease }
- name: Docker image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
workflow_id: 'release.yml',
ref,
inputs: {
goreleaser: type === 'release' ? 'false' : 'true',
goreleaser: type === 'release' ? 'true' : 'false',
releaseType: type,
}
})
Expand Down

0 comments on commit fa1c31b

Please sign in to comment.