GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
2023-05-03 17:33:05 +02:00
__tests__ check latest and tagged releases using releases-json 2023-01-29 16:03:29 +01:00
.github Merge pull request #200 from crazy-max/dependabot/github_actions/peter-evans/create-pull-request-5.0.1 2023-05-03 17:33:05 +02:00
dist feat: install-only 2023-05-03 01:52:24 +00:00
src feat: install-only 2023-05-03 01:52:24 +00:00
.dockerignore Enhance workflow (#141) 2021-03-30 22:40:52 +02:00
.editorconfig Initial commit 2020-01-08 22:26:34 +01:00
.eslintrc.json update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
.gitattributes Use ncc and clean workflows 2020-04-09 02:32:42 +02:00
.gitignore Use ncc and clean workflows 2020-04-09 02:32:42 +02:00
.prettierrc.json Initial commit 2020-01-08 22:26:34 +01:00
action.yml feat: install-only 2023-05-03 01:52:24 +00:00
codecov.yml update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
dev.Dockerfile Node 16 as default runtime (#169) 2022-05-26 11:02:01 +02:00
docker-bake.hcl update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
jest.config.ts update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
LICENSE new year 2023-02-18 22:47:01 +01:00
package.json Bump @actions/tool-cache from 1.7.2 to 2.0.1 2022-10-19 01:07:39 +00:00
README.md feat: install-only 2023-05-03 01:52:24 +00:00
tsconfig.json update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
yarn.lock Bump minimatch from 3.0.4 to 3.1.2 2023-01-29 15:10:41 +00:00

GitHub release GitHub marketplace Test workflow Codecov Become a sponsor Paypal Donate

About

GitHub Action for UPX, the Ultimate Packer for eXecutables.

Screenshot


Usage

name: upx

on:
  push:

jobs:
  upx:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Run UPX
        uses: crazy-max/ghaction-upx@v2
        with:
          version: latest
          files: |
            ./bin/*.exe            
          args: -fq

Customizing

inputs

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 Install upx, but do not run it

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. If you want to open a pull request, please read the contributing guidelines.

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.