Fixed bug reading username

```
fatal: could not read Username for 'github.com': No such device or address
```
This commit is contained in:
Tonye Jack
2021-05-06 08:44:56 -04:00
committed by GitHub
parent a5b0000bd1
commit 7852058eee

View File

@@ -2,6 +2,10 @@ name: Changed files
description: Get all changed files
author: tj-actions
inputs:
token:
description: 'Github token'
required: true
default: ${{ github.token }}
separator:
description: 'Split character for array output'
required: true
@@ -55,6 +59,8 @@ runs:
- id: changed_files
run: |
set -e
git remote set-url origin "https://${{ inputs.token }}@github.com/${{ github.repository }}"
export INPUT_FILES="${{ inputs.files }}"
export INPUT_SEPARATOR="${{ inputs.separator }}"