GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
2024-10-27 21:11:25 +01:00
__tests__ test: fix after jest update 2023-09-10 05:28:51 +02:00
.github chore(deps): bump peter-evans/create-pull-request from 6.1.0 to 7.0.5 2024-09-18 19:57:25 +00:00
.yarn/plugins/@yarnpkg chore: use corepack to install yarn 2024-04-27 12:22:02 +02:00
dist chore: update generated content 2024-10-27 21:11:25 +01:00
src arm platform support 2024-10-27 21:10:52 +01:00
.dockerignore chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
.editorconfig Initial commit 2020-01-08 22:26:34 +01:00
.eslintignore chore: update dev dependencies 2023-09-10 05:28:33 +02:00
.eslintrc.json chore: update dev dependencies 2023-09-10 05:28:33 +02:00
.gitattributes chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
.gitignore chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
.prettierignore chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
.prettierrc.json Initial commit 2020-01-08 22:26:34 +01:00
.yarnrc.yml chore: use corepack to install yarn 2024-04-27 12:22:02 +02:00
action.yml chore: node 20 as default runtime 2023-09-10 05:29:56 +02:00
codecov.yml codecov: update config 2023-09-09 11:50:27 +02:00
dev.Dockerfile chore: use corepack to install yarn 2024-04-27 12:22:02 +02:00
docker-bake.hcl update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
jest.config.ts chore: update dev dependencies 2023-09-10 05:28:33 +02:00
LICENSE new year 2024-04-08 00:46:59 +02:00
package.json chore(deps): bump @actions/http-client from 2.1.1 to 2.2.3 2024-10-27 19:24:54 +00:00
README.md docs: bump actions to latest major 2023-09-10 15:58:06 +02:00
tsconfig.json chore: update dev dependencies 2023-09-10 05:28:33 +02:00
yarn.lock chore(deps): bump @actions/http-client from 2.1.1 to 2.2.3 2024-10-27 19:24:54 +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@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.