Skip to content

Flydiverny/setup-git-crypt

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from actions/typescript-action