Wraps the curl CLI to be used in GitHub Actions.
- make http requests
- http errors are treated as errors
on: push
jobs:
curl:
runs-on: ubuntu-latest
steps:
- name: curl
uses: sozo-design/[email protected]
with:
args: https://httpbin.org/get
on: push
jobs:
curl:
runs-on: ubuntu-latest
steps:
- name: curl
uses: sozo-design/[email protected]
with:
args: -X POST https://httpbin.org/post
on: push
jobs:
curl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: curl
uses: sozo-design/[email protected]
with:
args: --upload-file .github/workflows/main.yml https://transfer.sh/main-workflow.yml
docker run --rm $(docker build -q .) \
https://httpbin.org/get