Skip to content

Setup git-crypt

Actions
Setup git-crypt for use in github actions
v5
Latest
Star (2)

setup-git-crypt

This is a GitHub Action for setting up git-crypt in a GitHub Actions workflow. Git-crypt is a tool for encrypting and decrypting files in a Git repository. The action will download the source for the git-crypt CLI and build it in runtime, it may also be cached in the tools cache.

v5:

v4:

v3:

Pre-requisite for self-hosted runners

This action requires openssl and openssl-devel to be installed on your runner (exists by default on github hosted runners).

yum install openssl openssl-devel

Usage

To use this action in your workflow, add it as a step in your .yml file like this:

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v6
      - uses: flydiverny/setup-git-crypt@v5
      - run: git-crypt unlock

Specifying a version

You can optionally specify a git-crypt version:

- uses: flydiverny/setup-git-crypt@v5
  with:
    version: '0.8.1'

License

This project is licensed under the MIT License. See LICENSE for more details.

Setup git-crypt 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 git-crypt for use in github actions
v5
Latest

Setup git-crypt 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.