Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 29, 2021
1 parent bf65a21 commit b6a5842
Show file tree
Hide file tree
Showing 8 changed files with 1,128 additions and 4,225 deletions.
37 changes: 29 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# setup-conda

[![Tests](https://github.com/s-weigand/setup-conda/workflows/Tests/badge.svg)](https://github.com/s-weigand/setup-conda/actions)
[![All Contributors](https://img.shields.io/github/all-contributors/s-weigand/setup-conda)](#contributors-)

This action adds the [`conda`](https://conda.io/projects/conda/en/latest/user-guide/tasks/index.html)
command from the on the worker preinstalled miniconda version to the known shell commands.

:warning:
The usage directly from master (`s-weigand/setup-conda@master`) was be deprecated on 2020-10-01,
use tagged versions instead (i.e. `s-weigand/setup-conda@v1`). This is to ensure that breaking changes in this action, won't break users workflows.

## Inputs

| Name | Requirement | Default | Description |
| ---------------- | ----------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `activate-conda` | _optional_ | `true` | Wether to activate the conda base env. |
| `activate-conda` | _optional_ | `true` | Whether to activate the conda base env. |
| `update-conda` | _optional_ | `false` | If conda should be updated before running other commands. |
| `python-version` | _optional_ | `'default'` | Python version which should be installed with conda. |
| `conda-channels` | _optional_ | `''` | Additional channels like 'conda-forge', as coma separated list, which can be used to install packages. The last channel in the list, will have the highest priority. |
Expand All @@ -34,14 +31,14 @@ steps:
- run: which python
```
If don't want to change the python version which is used
(i.e. you just need to install a none python package), you can use `activate-conda: false`.
If you don't want to change the python version which is used
(e.g. you just need to install a none python package), you can use `activate-conda: false`.

```yaml
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: s-weigand/setup-conda@v1
Expand Down Expand Up @@ -73,3 +70,27 @@ jobs:
- run: conda --version
- run: which python
```

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://github.com/s-weigand"><img src="https://avatars2.githubusercontent.com/u/9513634?v=4" width="100px;" alt=""/><br /><sub><b>Sebastian Weigand</b></sub></a><br /><a href="https://github.com/s-weigand/setup-conda/commits?author=s-weigand" title="Code">💻</a> <a href="#ideas-s-weigand" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-s-weigand" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-s-weigand" title="Maintenance">🚧</a> <a href="https://github.com/s-weigand/setup-conda/commits?author=s-weigand" title="Tests">⚠️</a> <a href="https://github.com/s-weigand/setup-conda/pulls?q=is%3Apr+reviewed-by%3As-weigand" title="Reviewed Pull Requests">👀</a></td>
<td align="center"><a href="https://santi.uy"><img src="https://avatars3.githubusercontent.com/u/3905501?v=4" width="100px;" alt=""/><br /><sub><b>Santiago Castro</b></sub></a><br /><a href="https://github.com/s-weigand/setup-conda/commits?author=bryant1410" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/d-chambers"><img src="https://avatars2.githubusercontent.com/u/11671536?v=4" width="100px;" alt=""/><br /><sub><b>Derrick</b></sub></a><br /><a href="https://github.com/s-weigand/setup-conda/commits?author=d-chambers" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/basic-ph"><img src="https://avatars2.githubusercontent.com/u/35763852?v=4" width="100px;" alt=""/><br /><sub><b>Pietro Fumiani</b></sub></a><br /><a href="https://github.com/s-weigand/setup-conda/issues?q=author%3Abasic-ph" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://github.com/dcdenu4"><img src="https://avatars3.githubusercontent.com/u/2659980?v=4" width="100px;" alt=""/><br /><sub><b>Doug</b></sub></a><br /><a href="https://github.com/s-weigand/setup-conda/issues?q=author%3Adcdenu4" title="Bug reports">🐛</a></td>
</tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"owner":"s-weigand","repo":"setup-conda","sha":"5581a4fa06f5c60cfd719c77c8f81a86af500900","ref":"refs/tags/v1.0.5","tagName":"v1.0.5","branch":"release","tags":["v1.0.5","v1"],"updated_at":"2020-10-01T18:43:36.887Z"}
{"owner":"s-weigand","repo":"setup-conda","sha":"33fb1dc02728148e85d1f88a2e02b6e00c521065","ref":"refs/tags/v1.0.6","tagName":"v1.0.6","branch":"release","tags":["v1.0.6","v1"],"updated_at":"2021-06-29T17:10:04.700Z"}
Loading

0 comments on commit b6a5842

Please sign in to comment.