From fa1c31bae6ead1c665b5534fc05eb52768c74920 Mon Sep 17 00:00:00 2001 From: Dominik Menke Date: Tue, 26 Apr 2022 20:17:20 +0200 Subject: [PATCH] ci: fix typos --- .github/workflows/release.yml | 3 +-- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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, } })