+
Skip to content

wei/wget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Action for wget

Wraps the wget CLI to be used in GitHub Actions. See also GitHub Action for curl.

Features

  • make http requests
  • http errors are treated as errors

Usage

GitHub Actions

on: push
jobs:
  wget:
    runs-on: ubuntu-latest
    steps:
    - name: wget
      uses: wei/wget@v1
      with:
        args: -O sample.html https://httpbin.org/html
on: push
jobs:
  wget:
    runs-on: ubuntu-latest
    steps:
    - name: wget
      uses: wei/wget@v1
      with:
        args: -qO- https://httpbin.org/get

Docker

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

Author

Wei He github@weispot.com

License

MIT

About

Wraps the wget CLI to be used in Github Actions

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载