Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elgohr/asdf-build-action

Uses ASDF to provide a configurable build environment for Github Actions
https://github.com/elgohr/asdf-build-action

actions asdf building github golang java kotlin node-js yarn

Last synced: 20 days ago
JSON representation

Uses ASDF to provide a configurable build environment for Github Actions

Awesome Lists containing this project

README

        

# ASDF-build-action
[![Actions Status](https://github.com/elgohr/asdf-build-action/workflows/Test/badge.svg)](https://github.com/elgohr/asdf-build-action/actions)

Uses [ASDF](https://github.com/asdf-vm/asdf) to provide a configurable build environment for Github Actions.

## Supported environments

Please see https://github.com/asdf-vm/asdf-plugins for supported environments.
Furthermore take care, that some languages may have different identifiers (e.g. go is identified with golang).

## Usage

Example workflow
```
workflow "Run Go Tests" {
resolves = ["Test"]
on = "push"
}

action "Test" {
uses = "elgohr/asdf-build-action@master"
env = {
ENVIRONMENT = "golang"
VERSION = "1.12"
}
args = "go test ./..."
}
```

### Known errors

```
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
```
is ASDFs way to say, that the environment/version is not present.