crazy-max/ghaction-upx

GitHub Action for UPX, the Ultimate Packer for eXecutables

73

stars

518

commits

TypeScript

primary language

Sep 13, 2026

updated

github.com/marketplace/actions/upx-github-action
actions
github-actions
upx

README

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: Run UPX
        uses: crazy-max/ghaction-upx@v4
        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: Install UPX
        uses: crazy-max/ghaction-upx@v4
        with:
          install-only: true
      -
        name: UPX version
        run: upx --version

Customizing

inputs

The following inputs can be used as step.with keys

NameTypeDefaultDescription
versionStringlatestUPX version. Example: v3.95
filesStringNewline-delimited list of path globs for files to compress
argsStringArguments to pass to UPX
install-onlyStringfalseJust 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! :pray:

License

MIT. See LICENSE for more details.

Contributors

crazy-max

314 commits

dependabot[bot]

159 commits

caarlos0

2 commits

crazy-max/ghaction-upx

GitHub Action for UPX, the Ultimate Packer for eXecutables

73

stars

518

commits

TypeScript

primary language

Sep 13, 2026

updated

github.com/marketplace/actions/upx-github-action
actions
github-actions
upx

README

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: Run UPX
        uses: crazy-max/ghaction-upx@v4
        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: Install UPX
        uses: crazy-max/ghaction-upx@v4
        with:
          install-only: true
      -
        name: UPX version
        run: upx --version

Customizing

inputs

The following inputs can be used as step.with keys

NameTypeDefaultDescription
versionStringlatestUPX version. Example: v3.95
filesStringNewline-delimited list of path globs for files to compress
argsStringArguments to pass to UPX
install-onlyStringfalseJust 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! :pray:

License

MIT. See LICENSE for more details.

Contributors

crazy-max

314 commits

dependabot[bot]

159 commits

caarlos0

2 commits

Languages

TypeScript

68.9%

Dockerfile

16.3%

JavaScript

7.8%

HCL

7.0%