Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/crazy-max/ghaction-chocolatey

GitHub Action for Chocolatey, the package manager for Windows
https://github.com/crazy-max/ghaction-chocolatey

actions chocolatey github-actions

Last synced: about 1 month ago
JSON representation

GitHub Action for Chocolatey, the package manager for Windows

Lists

README

        

[![GitHub release](https://img.shields.io/github/release/crazy-max/ghaction-chocolatey.svg?style=flat-square)](https://github.com/crazy-max/ghaction-chocolatey/releases/latest)
[![GitHub marketplace](https://img.shields.io/badge/marketplace-chocolatey--action-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/chocolatey-action)
[![CI workflow](https://img.shields.io/github/actions/workflow/status/crazy-max/ghaction-chocolatey/ci.yml?branch=master&label=ci&logo=github&style=flat-square)](https://github.com/crazy-max/ghaction-chocolatey/actions?workflow=ci)
[![Become a sponsor](https://img.shields.io/badge/sponsor-crazy--max-181717.svg?logo=github&style=flat-square)](https://github.com/sponsors/crazy-max)
[![Paypal Donate](https://img.shields.io/badge/donate-paypal-00457c.svg?logo=paypal&style=flat-square)](https://www.paypal.me/crazyws)

## About

GitHub Action for [Chocolatey](https://chocolatey.org/), the package manager for Windows.

![GitHub Action for Chocolatey](.github/ghaction-chocolatey.png)

___

* [Usage](#usage)
* [Customizing](#customizing)
* [inputs](#inputs)
* [Limitation](#limitation)
* [Contributing](#contributing)
* [License](#license)

## Usage

```yaml
on: push

jobs:
test:
runs-on: windows-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Choco help
uses: crazy-max/ghaction-chocolatey@v3
with:
args: -h
```

## Customizing

### inputs

Following inputs can be used as `step.with` keys

| Name | Type | Description |
|---------|--------|-----------------------------------------------------------------------|
| `args` | String | Arguments to pass to Chocolatey |
| `image` | String | Docker image to use (default `ghcr.io/crazy-max/ghaction-chocolatey`) |

## Limitation

This action is only available for Linux and Windows
[virtual environments](https://help.github.com/en/articles/virtual-environments-for-github-actions#supported-virtual-environments-and-hardware-resources).

## Contributing

Want to contribute? Awesome! The most basic way to show your support is to star
the project, or to raise issues. You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max)
or by making a [PayPal donation](https://www.paypal.me/crazyws) to ensure this
journey continues indefinitely!

Thanks again for your support, it is much appreciated! :pray:

## License

MIT. See `LICENSE` for more details.