A GitHub action to install μpkg.
name: Release
on:
push:
tags: ['v*']
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: orbit-online/upkg-install@v1
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.
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 | . |
Name | Description |
---|---|
version |
The version of μpkg that was installed |
install-prefix |
Where μpkg was installed |