mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2024-12-21 23:56:08 -07:00
GitHub Action for UPX, the Ultimate Packer for eXecutables
894c4caedf
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
__tests__ | ||
.github | ||
.yarn | ||
dist | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
.yarnrc.yml | ||
action.yml | ||
codecov.yml | ||
dev.Dockerfile | ||
docker-bake.hcl | ||
jest.config.ts | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
About
GitHub Action for UPX, the Ultimate Packer for eXecutables.
Usage
name: upx
on:
push:
jobs:
upx:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Run UPX
uses: crazy-max/ghaction-upx@v3
with:
version: latest
files: |
./bin/*.exe
args: -fq
If you just want to install UPX:
name: upx
on:
push:
jobs:
upx:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
-
name: UPX version
run: upx --version
Customizing
inputs
The following inputs can be used as step.with
keys
Name | Type | Default | Description |
---|---|---|---|
version |
String | latest |
UPX version. Example: v3.95 |
files |
String | Newline-delimited list of path globs for files to compress | |
args |
String | Arguments to pass to UPX | |
install-only |
String | false |
Just install UPX |
Limitation
This action is only available for Linux and Windows virtual environments.
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 or by making a PayPal donation to ensure this journey continues indefinitely!
Thanks again for your support, it is much appreciated! 🙏
License
MIT. See LICENSE
for more details.