GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
2023-09-10 04:58:47 +02:00
__tests__ check latest and tagged releases using releases-json 2023-01-29 16:03:29 +01:00
.github chore: github form templates 2023-09-03 18:01:06 +02:00
.yarn chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
dist update generated content 2023-09-03 17:58:52 +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
.eslintrc.json update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +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
action.yml feat: install-only 2023-05-03 01:52:24 +00:00
codecov.yml codecov: update config 2023-09-09 11:50:27 +02:00
dev.Dockerfile chore: update yarn to 3.6.3 2023-09-10 04:58:47 +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 chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02:00
README.md readme: install only example 2023-05-03 17:51:04 +02:00
tsconfig.json update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
yarn.lock chore: update yarn to 3.6.3 2023-09-10 04:58:47 +02: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

If you just want to install UPX:

name: upx

on:
  push:

jobs:
  upx:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3
      -
        name: Install UPX
        uses: crazy-max/ghaction-upx@v2
        with:
          install-only: true
      -
        name: UPX version
        run: upx --version

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 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. 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.