GitHub Action for UPX, the Ultimate Packer for eXecutables
 
 
 
Go to file
CrazyMax 9169abd346
Merge pull request #227 from crazy-max/dependabot/github_actions/actions/download-artifact-4
chore(deps): bump actions/download-artifact from 3 to 4
2024-04-08 09:53:45 +02:00
.github Merge pull request #227 from crazy-max/dependabot/github_actions/actions/download-artifact-4 2024-04-08 09:53:45 +02:00
.yarn chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
__tests__ test: fix after jest update 2023-09-10 05:28:51 +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: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
LICENSE new year 2024-04-08 00:46:59 +02:00
README.md docs: bump actions to latest major 2023-09-10 15:58:06 +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: update dev dependencies 2023-09-10 05:28:33 +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
package.json chore: update dev dependencies 2023-09-10 05:28:33 +02:00
tsconfig.json chore: update dev dependencies 2023-09-10 05:28:33 +02:00
yarn.lock chore: update dev dependencies 2023-09-10 05:28:33 +02:00

README.md

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.