A GitHub action for installing fish shell.
This action has a few dependencies that are generally satisfied by most GitHub-hosted runners (macos-*
and ubuntu-*
environment variants):
Add a suitable uses
step to your GitHub workflow:
jobs:
install-fish-shell:
runs-on: ubuntu-latest
steps:
- name: Install fish shell
uses: fish-shop/install-fish-shell@v1
Use one of the following patterns when specifying the version reference for this action in your workflow (i.e. the {ref}
value in uses: fish-shop/install-fish-shell@{ref}
):
Pattern | Example | Description |
---|---|---|
vX |
v1 |
the latest v1.* release including non-breaking changes and bug fixes |
vX.Y |
v1.1 |
the latest v1.1.* release including bug fixes |
vX.Y.Z |
v1.1.0 |
the v1.1.0 release only |
Tip
The recommended pattern is vX
(e.g. v2
). This will ensure that the version of the action used in your workflow includes the latest non-breaking changes and bug fixes, and guarantees compatibility with previous versions of that major release number.
Using a main
branch reference in your workflow is not recommended as this branch may include breaking changes intended for the next major release.
A number of related composite actions are also available from the fish-shop 🐟. Check them out:
- fish-shop/indent-check - A GitHub action for checking indentation in fish shell files
- fish-shop/syntax-check - A GitHub action for syntax checking fish shell files
- fish-shop/install-plugin - A GitHub action for installing fish shell plugins
- fish-shop/install-plugin-manager - A GitHub action for installing a fish shell plugin manager
- fish-shop/run-fishtape-tests - A GitHub action for running Fishtape tests
- Clown fish icon made by Freepik from www.flaticon.com
fish-shop/install-fish-shell
is provided under the terms of the MIT License.
Email me at [email protected] or create an issue.