Skip to content

Commit

Permalink
Revert "Fix use-cross input to check for the value being equal to `…
Browse files Browse the repository at this point in the history
…true` (#8)"

This reverts commit 8029fa7.
  • Loading branch information
philss committed Oct 27, 2023
1 parent d657862 commit df3a37d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit df3a37d

Please sign in to comment.