From df3a37d1928898effc808a5665a2686776f8a84a Mon Sep 17 00:00:00 2001 From: Philip Sampaio Date: Fri, 27 Oct 2023 01:13:23 -0300 Subject: [PATCH] Revert "Fix `use-cross` input to check for the value being equal to `true` (#8)" This reverts commit 8029fa723399eeabd04e5bfa39e026b0c77fbcca. --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index e83ea91..8fa37e8 100644 --- a/action.yml +++ b/action.yml @@ -89,7 +89,7 @@ runs: - name: Download cross from GitHub releases uses: giantswarm/install-binary-action@v1.1.0 - if: ${{ inputs.use-cross == true && inputs.cross-version != 'from-source' }} + if: ${{ inputs.use-cross && inputs.cross-version != 'from-source' }} with: binary: "cross" version: ${{ inputs.cross-version }} @@ -99,7 +99,7 @@ runs: - name: Install cross from GitHub latest revision shell: bash - if: ${{ inputs.use-cross == true && inputs.cross-version == 'from-source' }} + if: ${{ inputs.use-cross && inputs.cross-version == 'from-source' }} run: | cargo install cross --git https://github.com/cross-rs/cross