GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
2023-09-03 17:53:56 +02:00
__tests__ check latest and tagged releases using releases-json 2023-01-29 16:03:29 +01:00
.github ci: concurrency check 2023-05-03 17:50:31 +02:00
dist update generated content 2023-09-03 17:53:56 +02:00
src feat: install-only 2023-05-03 01:52:24 +00:00
.dockerignore Enhance workflow (#141) 2021-03-30 22:40:52 +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 Use ncc and clean workflows 2020-04-09 02:32:42 +02:00
.gitignore Use ncc and clean workflows 2020-04-09 02:32:42 +02:00
.prettierrc.json Initial commit 2020-01-08 22:26:34 +01:00
action.yml feat: install-only 2023-05-03 01:52:24 +00:00
codecov.yml update dev dependencies and workflow (#168) 2022-04-24 20:30:15 +02:00
dev.Dockerfile Node 16 as default runtime (#169) 2022-05-26 11:02:01 +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 Bump @actions/http-client from 2.1.0 to 2.1.1 2023-08-07 04:16:56 +00: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 Bump @actions/http-client from 2.1.0 to 2.1.1 2023-08-07 04:16:56 +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@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.