Skip to content

Commit

Permalink
steps missing always
Browse files Browse the repository at this point in the history
  • Loading branch information
garbas committed Aug 29, 2024
1 parent 7392485 commit 729160a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ inputs:
required: true
environment:
description: "Environment to run the command in. If not specified it will try to find local Flox environment."
default: ""
default: null

runs:

using: "composite"

# TODO: automatically login to floxhub if not logged in already and FLOX_TOKEN is present

- name: "Run flox activate"
shell: "bash"
run: "flox activate ${{ inputs.environment == '' && '' || format('--remote={0}', inputs.environment) }} -- ${{ inputs.command }}"
steps:
# TODO: automatically login to floxhub if not logged in already and FLOX_TOKEN is present
- name: "Run flox activate"
shell: "bash"
run: "flox activate ${{ inputs.environment == null && '' || format('--remote={0}', inputs.environment) }} -- ${{ inputs.command }}"

0 comments on commit 729160a

Please sign in to comment.