From 845cd8a860b36145060964925a00c0af9e8025c3 Mon Sep 17 00:00:00 2001 From: Markus Maga Date: Thu, 12 Dec 2024 15:25:55 +0100 Subject: [PATCH] fix: update readme Signed-off-by: Markus Maga --- README.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e0d86a..f16f4c9 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ 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. +v4: works on ubuntu 22+ +v3: works on ubuntu 20 and 22 + ## 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). @@ -23,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: Flydiverny/setup-git-crypt@v3 + - uses: flydiverny/setup-git-crypt@v4 ``` 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. diff --git a/package.json b/package.json index 9c558b2..4c646ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-git-crypt", - "version": "0.1.0", + "version": "4.0.0", "private": true, "description": "TypeScript template action", "main": "lib/main.js",