Skip to content

Commit

Permalink
will this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Aug 29, 2024
1 parent 1a3dc89 commit 7392485
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 @@ -8,7 +8,7 @@ inputs:
required: true
environment:
description: "Environment to run the command in. If not specified it will try to find local Flox environment."
default: null
default: ""

runs:

Expand All @@ -18,4 +18,4 @@ runs:

- name: "Run flox activate"
shell: "bash"
run: "flox activate ${{ inputs.environment == null && '' || format('--remote={0}', inputs.environment) }} -- ${{ inputs.command }}"
run: "flox activate ${{ inputs.environment == '' && '' || format('--remote={0}', inputs.environment) }} -- ${{ inputs.command }}"

0 comments on commit 7392485

Please sign in to comment.