From c2200340a1d9fff6fb0d1bb430d775c8d60d7b83 Mon Sep 17 00:00:00 2001 From: Pedro Gabriel Planel Date: Mon, 26 Apr 2021 20:07:32 -0300 Subject: [PATCH] update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0418356..6cc2a56 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,19 @@ This actions is a wrapper around the library [CryptoJS](https://cryptojs.gitbook ## Example ```yaml jobs: - get_string_hash: + hash_string: - name: Hash PR name - uses: pplanel/hash-string-action@v1.0 + uses: pplanel/hash-calculator-action@v1.2 id: hash_result with: input: 'The quick brown fox jumps over the lazy dog' method: SHA3 output_len: 384 + + use_digest: + - name: Print + run: | + echo ${{ steps.hash_string.output.digest }} ### output_str = 283990fa9d5fb731d786c5bbee94ea4db4910f18c62c03d173fc0a5e494422e8a0b3da7574dae7fa0baf005e504063b3 ```