Skip to content

sadtriyo100jt/setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tea

install.sh is delivered when you curl tea.xyz.

GitHub Action 0.7.2

This repository also provides the tea GitHub Action.

- uses: teaxyz/setup@v0

Usage

Via Terminal

sh <(curl tea.xyz)

# - installs to `~/.tea`
# - if tea is already installed, the script instead checks for updates
sh <(curl tea.xyz) +charm.sh/gum gum spin -- sleep 5

# - if tea is installed, uses that installation to run gum
# - if tea is *not* installed, downloads gum and its deps to a safe and
#   temporary location and executes the command

Options

  • YES=1, for headless environments, assumes affirmative for all prompts
  • TEA_PREFIX=/path change install location

Via GitHub Actions

- uses: teaxyz/setup@v0
  with:
    target: build

Is the equivalent of tea build, ie. runs the executable markdown from your project’s README for the # build section. Of course we install your dependencies first.

There is no need to specify a target, - uses: teaxyz/setup@v0 by itself installs your deps and exports some variables like VERSION. See action.yml for all inputs and outputs.

Interesting Usages

At tea, we consider the version in the README the definitive version. Thus we use GitHub Actions to automatically tag and publish that version when the README is edited and the version changes.

See our CI scripts for details.

Test

node --check ./action.js

Dependencies

Project Version
nodejs.org ^16

About

`sh <(curl tea.xyz)` and GitHub Action

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.6%
  • JavaScript 25.4%