Skip to content

Setup p7zip fork

Actions
Setup/Install new p7zip fork (7zip CLI for Linux) with additional codecs for GitHub Actions
v2
Latest
Star (3)

Setup new p7zip fork for GitHub Actions

Setup new p7zip fork (p7zip-zstd) on GitHub Actions to use 7za.

This action installs the new p7zip fork with additional codecs and improvements for use in actions by installing it on tool cache using AnimMouse/tool-cache.

With the new p7zip fork, you can now use Zstandard (zstd), Brotli, LZ4, LZ5, Lizard, and Fast LZMA2 on p7zip in GitHub Actions.

This action only works on Ubuntu.

Usage

To use 7za, run this action before 7za.

steps:
  - name: Setup p7zip fork
    uses: AnimMouse/setup-p7zip-fork@v2
    
  - run: 7za i

Specific version

You can specify the version you want. By default, this action downloads the latest version if version is not specified.

steps:
  - name: Setup p7zip fork
    uses: AnimMouse/setup-p7zip-fork@v2
    with:
      version: v17.05
      
  - run: 7za i

GitHub token

This action automatically uses a GitHub token in order to authenticate with the GitHub API and avoid rate limiting. You can also specify your own read-only fine-grained personal access token.

steps:
  - name: Setup p7zip fork
    uses: AnimMouse/setup-p7zip-fork@v2
    with:
      token: ${{ secrets.GH_PAT }}

Setup p7zip fork is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup/Install new p7zip fork (7zip CLI for Linux) with additional codecs for GitHub Actions
v2
Latest

Setup p7zip fork is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.