Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wei/wget
Wraps the wget CLI to be used in Github Actions
https://github.com/wei/wget
action github-action wget
Last synced: 21 days ago
JSON representation
Wraps the wget CLI to be used in Github Actions
- Host: GitHub
- URL: https://github.com/wei/wget
- Owner: wei
- Created: 2019-07-18T03:45:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T15:23:41.000Z (about 5 years ago)
- Last Synced: 2024-10-14T20:01:18.375Z (29 days ago)
- Topics: action, github-action, wget
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 30
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Action for wget
Wraps the wget CLI to be used in GitHub Actions. See also [GitHub Action for curl](https://github.com/marketplace/actions/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](https://github.com/wei) [email protected]_## License
[MIT](https://wei.mit-license.org)