Files
setup-zig/action.yml
Renée 3d1ffe6553 backport caching to v1 (#54)
* deps: use esbuild

* deps: update tool-cache

* Fix tool-cache usage (#45)

* cache log

* log

* log

* use resolved ver for cache

* build

* log cache

* log

* use version as key

* deps

* loggggggg

* method name

* improve log

* ci: tweak versions

* include version for commit deps

* trailing

* mistake

* Use github cache (#53)

* Cache the zig compiler locally

* logging

* npm update

* verboser

* os.arch

* debug

* log signal

* address https://github.com/actions/toolkit/issues/687

* correct path

* add a cache: false option

* share size

* zigpath

* path.join skull

* target node12

* changelog: add 1.4.0
2023-06-25 18:02:21 +02:00

19 lines
464 B
YAML

name: 'Setup Zig'
description: 'Setup a Zig compiler and add it to the path'
branding:
icon: play
color: orange
author: 'goto-bus-stop'
inputs:
version:
description: 'Version of the zig compiler to use (must be 0.3.0 or up)'
required: true
default: '0.5.0'
cache:
description: 'Cache downloaded compilers for faster action runs. Strongly recommended.'
required: false
default: 'true'
runs:
using: 'node12'
main: 'dist/index.js'