Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghostwriter/curl

curl for Github Actions
https://github.com/ghostwriter/curl

curl github-actions

Last synced: 17 days ago
JSON representation

curl for Github Actions

Awesome Lists containing this project

README

        

# Curl

Curl for GitHub Actions

## Features

- make http requests
- catch http errors
- pipe JSON response through jq

## Usage

### GitHub Actions

```
on: push
jobs:
curl:
runs-on: ubuntu-latest
steps:
- name: curl
uses: ghostwriter/curl@main
with:
args: 'https://httpbin.org/get' | jq '.'
```

### Docker

```
docker run --rm $(docker build -q .) \
https://httpbin.org/get
```