-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (28 loc) · 1.25 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: local-copy
description: "Locally copy files"
inputs:
src_path:
description: >
A path from $GITHUB_WORKSPACE$ to a directory that where the files to be copied are
located. For copying files, the path to this directory will be prepended onto the path for
any files listed in `from`. For cases where the files that are copied are not all in the
same directory, `src_path` should not be modified from its default.
default: ''
required: false
dst_path:
description: >
A path from $GITHUB_WORKSPACE$ to a directory that where the files to be copied to are
located. For copying files, the path to this directory will be prepended onto the path for
any files listed in `to`. For cases where the destinations for copied files are
not all in the same directory, `dst_path` should not be modified from its default.
default: ''
required: false
copy:
description: >
A comma separated list of source and destination pairings for copying a file. Each
pairing is of the format <from>:<to>. $GITHUB_WORKSPACE$ is treated as the base directory,
unless `src_path` and `dst_path` are specified.
required: true
runs:
using: "node20"
main: "./dist/index.js"