Skip to content

orbit-online/upkg-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

upkg-install

A GitHub action to install μpkg.

Usage

name: Release

on:
  push:
    tags: ['v*']

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
    - uses: orbit-online/upkg-install@v1

Behavior

If μpkg is already installed to install-prefix μpkg installation will be skipped even if there is a version mismatch, the installed version will however still be available in outputs.

Installed dependencies are cached and refreshed.

Inputs

Name Description Default
version The version of μpkg to install latest
install-prefix Where to install μpkg $HOME/.local
install-dependencies Whether to install dependencies in the current working-directory (will not fail if no upkg.json exists and not explicitly set to true) 'true'
working-directory The working directory to change to before installing .

Outputs

Name Description
version The version of μpkg that was installed
install-prefix Where μpkg was installed

About

GitHub action for installing μpkg

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published