Skip to content

ghostwriter/curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Sponsor this project

 

Packages

No packages published