mirror of
https://gitea.com/actions/go-hashfiles.git
synced 2025-07-21 14:48:29 +02:00
add files
This commit is contained in:
parent
c2d35db256
commit
264ae76b7e
5 changed files with 307 additions and 0 deletions
21
action.yml
Normal file
21
action.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: 'Go HashFiles'
|
||||
description: 'Compute the SHA256 checksum of specified files'
|
||||
inputs:
|
||||
workdir:
|
||||
description: >
|
||||
The working directory for the action.
|
||||
default: ${{ github.workspace }}
|
||||
required: false
|
||||
patterns:
|
||||
description: >
|
||||
The patterns used to match files. You can input multiple patterns seperated by `\n`.
|
||||
We recommand using `|-` to concat the patterns in `.yml` files.
|
||||
required: true
|
||||
outputs:
|
||||
hash:
|
||||
description: 'The computed checksum'
|
||||
matched-files:
|
||||
description: 'The files matched by the patterns'
|
||||
runs:
|
||||
using: 'go'
|
||||
main: 'main.go'
|
Loading…
Add table
Add a link
Reference in a new issue