Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ghostwriter/curl
- Owner: ghostwriter
- License: bsd-3-clause
- Created: 2020-05-06T00:28:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-16T21:12:06.000Z (10 months ago)
- Last Synced: 2024-10-03T10:57:18.695Z (about 1 month ago)
- Topics: curl, github-actions
- Language: Dockerfile
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```