-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[![Test Rebol installer](https://github.com/Oldes/install-rebol/actions/workflows/test.yml/badge.svg)](https://github.com/Oldes/install-rebol/actions/workflows/test.yml) | ||
|
||
# Rebol Install Action | ||
|
||
This Action can install | ||
[Rebol](https://github.com/Siskin-framework/Rebol) | ||
to a virtual machine of GitHub Actions. | ||
|
||
|
||
## Usage | ||
|
||
Include this in your workflow: | ||
|
||
```yml | ||
- uses: oldes/install-rebol@v1-alpha | ||
``` | ||
These inputs are allowed: | ||
- `version` -- an available Rebol release version (for example: `3.5.3`) | ||
_Default:_ empty; installs Rebol version `3.5.3`. | ||
- `product` -- one of available product build types (`base`, `core` or `bulk`) | ||
_Default:_ empty; installs the `core` version. | ||
|
||
### Working Example | ||
|
||
```yml | ||
name: Rebol Demo | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: ["ubuntu-latest", "windows-latest", "macos-latest"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: oldes/install-rebol@v1-alpha | ||
- name: Test Rebol | ||
run: ./rebol3 -v | ||
shell: bash | ||
``` |