mirror of
https://gitea.com/actions/go-hashfiles.git
synced 2024-12-04 22:09:31 +01:00
21 lines
598 B
YAML
21 lines
598 B
YAML
name: 'Go HashFiles'
|
|
description: 'Compute the SHA256 hash 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 hash result'
|
|
matched-files:
|
|
description: 'The files matched by the patterns'
|
|
runs:
|
|
using: 'go'
|
|
main: 'main.go'
|