Skip to content

Project-StarDust/get-spatial-cli-action

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

Get SpatialOS CLI Github Action

This Github Action installs the spatial CLI.

Example Workflow

on: [push]

name: CI

jobs:
  build: 
    name: Build SpatialOS project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: jamiebrynes7/get-spatial-cli-action@v1
        with:
          version: 20190416.094616.a865bb5b54
          refresh_token: "${OAUTH_TOKEN_SECRET}"
      - run: spatial build

Inputs

Name Required Description Type Default
refresh_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

About

Github action to install the SpatialOS CLI

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 55.8%
  • TypeScript 44.2%