Skip to content

Commit

Permalink
Fix the inputs passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
daisukixci committed Jan 21, 2021
1 parent feded79 commit a164531
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ inputs:
runs:
using: "composite"
steps:
- run: ${{ github.action_path }}/make.sh
- run: ${{ github.action_path }}/make.sh ${{ inputs.username }} ${{ inputs.apitoken }} ${{ inputs.docsdir }}
shell: bash
4 changes: 4 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash

INPUT_USERNAME="$1"
INPUT_APITOKEN="$2"
INPUT_DOCSDIR="$3"

# install requirements.txt if it exists
if [ -f requirements.txt ]; then
pip install --user -r requirements.txt
Expand Down

0 comments on commit a164531

Please sign in to comment.