GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
CrazyMax 18c19a3a3c
Merge pull request #239 from crazy-max/bot/upx-releases-json
Update `.github/upx-releases.json`
2024-06-16 23:39:36 +02:00
__tests__ test: fix after jest update 2023-09-10 05:28:51 +02:00
.github update .github/upx-releases.json 2024-06-16 21:38:15 +00:00
.yarn/plugins/@yarnpkg chore: use corepack to install yarn 2024-04-27 12:22:02 +02:00
dist chore: update generated content 2023-09-10 05:29:37 +02:00
src feat: install-only 2023-05-03 01:52:24 +00: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: update dev dependencies 2023-09-10 05:28:33 +02: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 braces from 3.0.2 to 3.0.3 2024-06-16 12:13:20 +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.