Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update links to GitHub shell docs. #263

Merged
merged 5 commits into from
Nov 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
60 changes: 30 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,45 +57,45 @@ possibility of automatically activating the `test` environment on all shells.
| [Caching environments](#caching-environments) | [![Caching Env Example Status][caching-env-badge]][caching-env] |

[ex1]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-1.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-1.yml?query=branch%3Amain
[ex1-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%201:%20Basic%20usage/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%201:%20Basic%20usage/main
[ex2]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-2.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-2.yml?query=branch%3Amain
[ex2-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%202:%20Other%20shells/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%202:%20Other%20shells/main
[ex3]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-3.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-3.yml?query=branch%3Amain
[ex3-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%203:%20Other%20options/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%203:%20Other%20options/main
[ex4]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-4.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-4.yml?query=branch%3Amain
[ex4-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%204:%20Channels/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%204:%20Channels/main
[ex5]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-5.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-5.yml?query=branch%3Amain
[ex5-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%205:%20Custom%20installer/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%205:%20Custom%20installer/main
[ex6]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-6.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-6.yml?query=branch%3Amain
[ex6-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%206:%20Mamba/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%206:%20Mamba/main
[caching]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-example.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-example.yml?query=branch%3Amain
[caching-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Example/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Example/main
[caching-env]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-envs-example.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/caching-envs-example.yml?query=branch%3Amain
[caching-env-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Env%20Example/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Caching%20Env%20Example/main
[ex7]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-7.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-7.yml?query=branch%3Amain
[ex7-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%207:%20Explicit%20Environment%20Specification/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%207:%20Explicit%20Environment%20Specification/main
[ex10]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-10.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-10.yml?query=branch%3Amain
[ex10-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%2010:%20Miniforge,%20etc/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%2010:%20Miniforge,%20etc/main

## Other Workflows

Expand All @@ -106,17 +106,17 @@ possibility of automatically activating the `test` environment on all shells.
| Workflow Status | [![Linting Status][linting-badge]][linting] | [![Catch Invalid Environments Status][ex8-badge]][ex8] | [![Handle Empty Channels Status][ex9-badge]][ex9] |

[linting]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/lint.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/lint.yml?query=branch%3Amain
[linting-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Linting/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Linting/main
[ex8]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-8.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-8.yml?query=branch%3Amain
[ex8-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%208:%20Catch%20invalid%20environment%20files/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%208:%20Catch%20invalid%20environment%20files/main
[ex9]:
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-9.yml?query=branch%3Adevelop
https://github.com/conda-incubator/setup-miniconda/actions/workflows/example-9.yml?query=branch%3Amain
[ex9-badge]:
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%209:%20Empty%20Channels%20in%20file%20dont%20crash%20setup/develop
https://img.shields.io/github/workflow/status/conda-incubator/setup-miniconda/Example%209:%20Empty%20Channels%20in%20file%20dont%20crash%20setup/main

## Environment activation

Expand Down Expand Up @@ -710,9 +710,9 @@ jobs:
properly activated (or use a default shell). This is because bash shells are
executed with `bash --noprofile --norc -eo pipefail {0}` thus ignoring updated
on bash profile files made by `conda init bash`. See
[Github Actions Documentation](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#using-a-specific-shell)
[Github Actions Documentation](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#custom-shell)
and
[thread](https://github.community/t5/GitHub-Actions/How-to-share-shell-profile-between-steps-or-how-to-use-nvm-rvm/td-p/33185).
[thread](https://github.com/orgs/community/discussions/25061).
- Sh shells do not use `~/.profile` or `~/.bashrc` so these shells need to be
explicitely declared as `shell: sh -l {0}` on steps that need to be properly
activated (or use a default shell). This is because sh shells are executed
Expand Down Expand Up @@ -741,9 +741,9 @@ jobs:
## Project History and Contributing

See the
[CHANGELOG](https://github.com/conda-incubator/setup-miniconda/blob/develop/CHANGELOG.md)
[CHANGELOG](https://github.com/conda-incubator/setup-miniconda/blob/main/CHANGELOG.md)
for project history, or
[CONTRIBUTING](https://github.com/conda-incubator/setup-miniconda/blob/develop/CONTRIBUTING.md)
[CONTRIBUTING](https://github.com/conda-incubator/setup-miniconda/blob/main/CONTRIBUTING.md)
to get started adding features you need.

## Contributors
Expand Down