forked from taiki-e/upload-rust-binary-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
51 lines (49 loc) · 1.73 KB
/
action.yml
File metadata and controls
51 lines (49 loc) · 1.73 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Build and upload Rust binary to GitHub Releases
description: GitHub Action for building and uploading Rust binary to GitHub Releases
inputs:
bin:
description: >
Comma-separated list of binary names (non-extension portion of filename) to build and upload.
Note that glob pattern is not supported yet.
required: true
archive:
description: Archive name (non-extension portion of filename) to be uploaded (variables `$bin`, `$target`, `$tag`, and any string)
required: false
default: '$bin-$target'
target:
description: Target name, default is host triple
required: false
features:
description: Comma-separated list of cargo build features to enable
required: false
tar:
description: On which platform to distribute the `.tar.gz` file (all, unix, windows, or none)
required: false
default: 'unix'
zip:
description: On which platform to distribute the `.zip` file (all, unix, windows, or none)
required: false
default: 'windows'
include:
description: >
Comma-separated list of additional files to be included to archive.
Note that glob pattern is not supported yet.
required: false
asset:
description: >
Comma-separated list of additional files to be uploaded separately.
Note that glob pattern is not supported yet.
required: false
leading_dir:
description: Whether to create the leading directory in the archive or not
required: false
default: 'false'
build_tool:
description: Tool to build binaries (cargo or cross)
required: false
checksum:
description: Comma-separated list of algorithms to be used for checksum (sha256, sha512, sha1, or md5)
required: false
runs:
using: node16
main: main.js