Support single file upload

This commit is contained in:
Nhan Nguyen
2022-02-10 10:14:07 +07:00
parent a6980b2ca5
commit f683177370
8 changed files with 86 additions and 12 deletions

View File

@@ -61,3 +61,10 @@ jobs:
method: 'POST'
data: '{ "key": "value" }'
files: '{ "file": "${{ github.workspace }}/testfile.txt" }'
- name: Request Postman Echo POST single file
uses: ./
with:
url: 'https://postman-echo.com/post'
method: 'POST'
file: "${{ github.workspace }}/testfile.txt"