GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
dependabot[bot] cf0a26615e
chore(deps): bump micromatch from 4.0.5 to 4.0.8
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 15:41:33 +00:00
__tests__ test: fix after jest update 2023-09-10 05:28:51 +02:00
.github Merge pull request #241 from crazy-max/dependabot/github_actions/docker/bake-action-5 2024-06-23 17:13:44 +02: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 micromatch from 4.0.5 to 4.0.8 2024-08-31 15:41:33 +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.