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

Commit

Permalink
Merge pull request #1 from inngest/enable-login
Browse files Browse the repository at this point in the history
Enable ability to provide a `token` to auth using `inngest login --token`
  • Loading branch information
jpwilliams authored Aug 16, 2022
2 parents 9f263ee + f19914f commit def5acb
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.token != ''
# run: inngest login --token ${{ inputs.token }}
# shell: ${{ runner.os == 'Windows' && 'cmd' || 'bash' }}
- if: inputs.token != ''
run: inngest login --token ${{ inputs.token }}
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 def5acb

Please sign in to comment.