setup-spatialos-cli
ActionsTags
(1)setup-spatialos-cli is a GitHub Action for downloading and installing the SpatialOS CLI.
This action supports:
- MacOS, Windows, and Linux agent hosts
- Pinning the SpatialOS CLI to a particular version
- Setting the service account OAuth token for authentication to the SpatialOS platform.
on: [push]
name: CI
jobs:
build:
name: Build SpatialOS project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: jamiebrynes7/setup-spatialos-cli@v1.3
with:
oauth_token: "${OAUTH_TOKEN_SECRET}"
version: 20190416.094616.a865bb5b54
- run: spatial build| Name | Required | Description | Type | Default |
|---|---|---|---|---|
oauth_token |
✓ | The auth token to use for the Spatial CLI. | string | |
version |
The version of the Spatial CLI to download. | string | "latest" |
Install the dependencies
$ npm installBuild the typescript
$ npm run buildRun the tests ✔️
$ npm testThe scripts and documentation in this project are released under the MIT License.
setup-spatialos-cli is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.