Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.81 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.81 KB

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