Wraps the wget CLI to be used in GitHub Actions.
- make http requests
- http errors are treated as errors
on: push
jobs:
wget:
runs-on: ubuntu-latest
steps:
- name: wget
uses: fharper/wget@v1
with:
args: -O sample.html https://httpbin.org/html
on: push
jobs:
wget:
runs-on: ubuntu-latest
steps:
- name: wget
uses: fharper/wget@v1
with:
args: -qO- https://httpbin.org/get
docker run --rm $(docker build -q .) \
-qO- https://httpbin.org/get
Wei He is the original creator, but deleted his GitHub account, which means all workflows using this action stopped working, so I decided to re-upload the code.