GitHub Action
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.
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
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@v2
- uses: Flydiverny/setup-git-crypt@v1
In this example, the setup-git-crypt
action is added as a step in the build
job, and it will be run when the workflow is triggered. The setup-git-crypt
action will install and configure git-crypt in the environment where the action is running, allowing you to use git-crypt in the rest of your workflow.
This project is licensed under the MIT License. See LICENSE for more details.