mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2024-12-23 04:37:28 +00:00
24 lines
504 B
YAML
24 lines
504 B
YAML
name: Test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
request:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
|
|
- name: Request Postment Echo GET
|
|
uses: ./
|
|
with:
|
|
url: 'https://postman-echo.com/get'
|
|
method: 'GET'
|
|
|
|
- name: Request Postment Echo POST
|
|
uses: ./
|
|
with:
|
|
url: 'https://postman-echo.com/post'
|
|
method: 'POST'
|
|
data: '{ "key": "value" }'
|