Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Enable ability to provide a key to auth using inngest login --token
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Aug 15, 2022
1 parent 2f189df commit f45c477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ runs:
node-version: 16
- run: npm i -g inngest-cli@${{ inputs.version }}
shell: ${{ runner.os == 'Windows' && 'cmd' || 'bash' }}
# - if: inputs.key != ''
# run: inngest login --token ${{ inputs.key }}
# shell: ${{ runner.os == 'Windows' && 'cmd' || 'bash' }}
- if: inputs.key != ''
run: inngest login --token ${{ inputs.key }}
shell: ${{ runner.os == 'Windows' && 'cmd' || 'bash' }}
- id: echo-version-cmd
if: runner.os == 'Windows'
run: FOR /F %%A IN ('inngest version') DO echo ::set-output name=version::%%~A
Expand Down

0 comments on commit f45c477

Please sign in to comment.