Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
trending-down

GitHub Action

UPX GitHub Action

v1.3.3

UPX GitHub Action

trending-down

UPX GitHub Action

GitHub Action for UPX, the Ultimate Packer for eXecutables

Installation

Copy and paste the following snippet into your .yml file.

              

- name: UPX GitHub Action

uses: crazy-max/ghaction-upx@v1.3.3

Learn more about this action in crazy-max/ghaction-upx

Choose a version

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.