Allow multiple files (#140)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-03-27 19:31:20 +01:00
committed by GitHub
parent 925acc7207
commit 1ebf61db85
10 changed files with 3750 additions and 152 deletions

View File

@@ -9,6 +9,8 @@
GitHub Action for [UPX](https://github.com/upx/upx), the Ultimate Packer for eXecutables.
![Screenshot](.github/ghaction-upx.png)
___
* [Usage](#usage)
@@ -25,7 +27,6 @@ ___
name: upx
on:
pull_request:
push:
jobs:
@@ -40,7 +41,8 @@ jobs:
uses: crazy-max/ghaction-upx@v1
with:
version: latest
file: ./bin/mybinary
files: |
./bin/*.exe
args: -fq
```
@@ -53,7 +55,7 @@ Following inputs can be used as `step.with` keys
| Name | Type | Default | Description |
|---------------|---------|-----------|---------------------------------|
| `version` | String | `latest` | UPX version. Example: `v3.95` |
| `file` | String | | File to compress (**required**) |
| `files` | String | | Newline-delimited list of path globs for files to compress (**required**) |
| `args` | String | | Arguments to pass to UPX |
## Keep up-to-date with GitHub Dependabot
@@ -78,7 +80,10 @@ This action is only available for Linux and Windows [virtual environments](https
## How can I help?
All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon: You can also support this project by [**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) :clap: or by making a [Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! :rocket:
All kinds of contributions are welcome :raised_hands:! The most basic way to show your support is to star :star2:
the project, or to raise issues :speech_balloon: You can also support this project by
[**becoming a sponsor on GitHub**](https://github.com/sponsors/crazy-max) :clap: or by making a
[Paypal donation](https://www.paypal.me/crazyws) to ensure this journey continues indefinitely! :rocket:
Thanks again for your support, it is much appreciated! :pray: