Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

jamiebrynes7/setup-spatialos-cli

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

setup-spatialos-cli Action

GitHub GitHub tag (latest by date)

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.

Usage

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

Inputs

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"

Developing

Install the dependencies

$ npm install

Build the typescript

$ npm run build

Run the tests ✔️

$ npm test

License

The scripts and documentation in this project are released under the MIT License.

About

Github action to install the SpatialOS CLI

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from actions/typescript-action