Skip to content

tecs-dev/setup-tecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

setup-tecs

Install the Tecs CLI in GitHub Actions and cache its LÖVE runtime, so tecs is on PATH for the rest of the job.

Usage

jobs:
  ci:
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    steps:
      - uses: actions/checkout@v4
      - uses: tecs-dev/setup-tecs@v1
      - run: tecs check
      - run: tecs build
      - if: runner.os == 'macOS'   # integ launches a real window; Linux CI has no display
        run: tecs integ

Inputs

Input Default Description
version latest Shared Tecs release to install, e.g. 0.10.10. Pins the release.

Pin a version to keep CI reproducible:

      - uses: tecs-dev/setup-tecs@v1
        with:
          version: "0.10.10"

What it does

  • Downloads and runs the released installer (install.sh on Linux/macOS, install.ps1 on Windows) into a job-local bin directory and adds it to PATH.
  • Caches the LÖVE runtime across runs (actions/cache, keyed by OS + version) and points TECS_CACHE_DIR at it, so the runtime is downloaded once.

Runs on ubuntu-latest, macos-latest, and windows-latest.

Versioning

Reference the moving major tag @v1 to get fixes automatically (e.g. when an install channel changes), or pin a specific release like @v1.0.0.

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors