diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23b97a1..77edce0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -78,7 +78,6 @@ jobs: with: script: | const isRelease = context.payload.inputs.releaseType === 'release' ? '1' : '0' - return { isRelease } - name: Docker image diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db87075..d4f7326 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,7 +88,7 @@ jobs: workflow_id: 'release.yml', ref, inputs: { - goreleaser: type === 'release' ? 'false' : 'true', + goreleaser: type === 'release' ? 'true' : 'false', releaseType: type, } })