-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
action.yml
58 lines (56 loc) · 1.86 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: 'maturin-action'
description: 'GitHub Action to install and run a custom maturin command'
author: messense
inputs:
token:
description: Used to pull maturin distributions using GitHub API. Since there's a default, this is typically not supplied by the user.
required: false
default: ${{ github.token }}
command:
description: maturin command to run. Defaults to "build".
required: false
default: 'build'
args:
description: Arguments for the maturin command
required: false
maturin-version:
description: Version of maturin to install like "v0.12.0".
required: false
manylinux:
description: Control the manylinux platform tag on linux.
required: false
container:
description: Docker container image name. Default depends on "target" and "manylinux" options.
required: false
docker-options:
description: Additional Docker run options, for passing environment variables and etc.
required: false
host-home-mount:
description: Host folder where the runner's home folder is mounted to. Used for building using Docker-in-Docker runners
required: false
target:
description: The --target option for cargo
required: false
rust-toolchain:
description: |
Rust toolchain name.
See https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
required: false
rustup-components:
description: |
Rustup components.
See https://rust-lang.github.io/rustup/concepts/components.html
required: false
working-directory:
description: Working directory to run maturin in.
required: false
sccache:
description: Enable sccache for faster builds.
required: false
default: 'false'
before-script-linux:
description: Script to run before maturin command on Linux.
required: false
runs:
using: 'node20'
main: 'dist/index.js'