generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
41 lines (41 loc) · 1.46 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
name: 'Setup Odin'
description: 'Setup the Odin compiler'
author: 'laytan'
branding:
color: blue
icon: code
inputs:
token:
description: 'GitHub token to make requests from, must be set to download releases'
required: false
branch:
description: 'The Odin branch to setup, supports tag names and branch names'
default: 'master'
required: true
release:
description: 'The Odin release to setup, if set, this will try to download a tagged GitHub release with this name instead of pulling/compiling, `latest` can be used to setup the latest release'
default: 'latest'
required: false
llvm-version:
description: 'Which version of LLVM to install, supports 11, 12, 13 and 14, this option has no effect on Windows (14 is recommended as this is pre-installed by GitHub)'
default: '14'
required: true
build-type:
description: 'Type of Odin build, supports "debug", "release" or "release_native"'
default: 'debug'
required: true
repository:
description: 'The repository to pull Odin from'
default: 'https://github.com/odin-lang/Odin'
required: true
cache:
description: 'Enables caching the compiler binary, NOTE: this is probably slower than redownloading it everytime and is thus deprectated.'
default: 'false'
outputs:
cache-hit:
description: 'A boolean value to indicate if a cache was hit'
runs:
using: 'node20'
main: 'dist/setup/index.js'
post: 'dist/cache-save/index.js'
post-if: success()