GitHub Action for UPX, the Ultimate Packer for eXecutables
Go to file
CrazyMax 925acc7207
Container dev workflow (#139)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-27 17:45:19 +01:00
__tests__ Cleanup code and tests 2020-05-07 12:11:19 +02:00
.github Container dev workflow (#139) 2021-03-27 17:45:19 +01:00
dist Container dev workflow (#139) 2021-03-27 17:45:19 +01:00
src Fix github release tag 2020-05-07 12:13:21 +02:00
.dockerignore Container dev workflow (#139) 2021-03-27 17:45:19 +01:00
.editorconfig Initial commit 2020-01-08 22:26:34 +01: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 Update action yml 2020-05-11 19:25:20 +02:00
CHANGELOG.md Update CHANGELOG 2020-10-01 20:08:12 +02:00
dev.Dockerfile Container dev workflow (#139) 2021-03-27 17:45:19 +01:00
docker-bake.hcl Container dev workflow (#139) 2021-03-27 17:45:19 +01:00
jest.config.js Cleanup code and tests 2020-05-07 12:11:19 +02:00
LICENSE 2021 2021-01-06 21:06:40 +01:00
package.json Bump @actions/http-client from 1.0.9 to 1.0.11 (#138) 2021-03-27 17:26:04 +01:00
README.md Add note about dependabot 2020-08-20 17:33:50 +02:00
tsconfig.json Update generated content 2020-10-21 01:53:33 +02:00
yarn.lock Bump @actions/http-client from 1.0.9 to 1.0.11 (#138) 2021-03-27 17:26:04 +01:00

GitHub release GitHub marketplace Test workflow Codecov Become a sponsor Paypal Donate

About

GitHub Action for UPX, the Ultimate Packer for eXecutables.


Usage

name: upx

on:
  pull_request:
  push:

jobs:
  upx:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
      -
        name: Run UPX
        uses: crazy-max/ghaction-upx@v1
        with:
          version: latest
          file: ./bin/mybinary
          args: -fq

Customizing

inputs

Following inputs can be used as step.with keys

Name Type Default Description
version String latest UPX version. Example: v3.95
file String File to compress (required)
args String Arguments to pass to UPX

Keep up-to-date with GitHub Dependabot

Since Dependabot has native GitHub Actions support, to enable it on your GitHub repo all you need to do is add the .github/dependabot.yml file:

version: 2
updates:
  # Maintain dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "daily"

Limitation

This action is only available for Linux and Windows virtual environments.

How can I help?

All kinds of contributions are welcome 🙌! 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.