Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Nov 18, 2019
1 parent 9b92e25 commit 0f0a395
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This action sets up conda so it can be used in other actions, like you would in

## Inputs

| Name | Requirement | Description |
| ---------------- | ----------- | -------------------------------------------------------------------------------------------- |
| `update-conda` | _optional_ | If conda should be updated before running other commands (`Default: false`) |
| `python-version` | _optional_ | Python version which should be installed with conda (`Default: 'default'`) |
| `conda-channels` | _optional_ | Additional channels like 'conda-forge' which can be used to install packages (`Default: ''`) |
| Name | Requirement | Description |
| ---------------- | ----------- | --------------------------------------------------------------------------------------------------------------------- |
| `update-conda` | _optional_ | If conda should be updated before running other commands (`Default: false`) |
| `python-version` | _optional_ | Python version which should be installed with conda (`Default: 'default'`) |
| `conda-channels` | _optional_ | Additional channels like 'conda-forge', as coma separated list, which can be used to install packages (`Default: ''`) |

# Usage

Expand All @@ -21,7 +21,7 @@ Basic:
```yaml
steps:
- uses: actions/checkout@master
- uses: s-weigand/setup-conda@v1
- uses: s-weigand/setup-conda@master
- run: conda --version
- run: which python
```
Expand All @@ -39,7 +39,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Setup conda
uses: s-weigand/setup-conda@v1
uses: s-weigand/setup-conda@master
with:
update-conda: true
python-version: 3.6
Expand Down
20 changes: 10 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: "setup-conda"
description: "Provide a description here"
author: "Sebastian Weigand"
name: 'setup-conda'
description: 'Setup conda to use in later actions'
author: 'Sebastian Weigand'
inputs:
update-conda:
description: "If conda should be updated before running other commands (default: 'false')"
default: "false"
default: 'false'
python-version:
description: "Python version which should be installed with conda (default: 'default')"
default: "default"
default: 'default'
conda-channels:
description: "Additional channels like 'conda-forge' which can be used to install packages"
default: ""
default: ''

runs:
using: "node12"
main: "dist/index.js"
using: 'node12'
main: 'dist/index.js'

branding:
icon: "code"
color: "yellow"
icon: 'code'
color: 'yellow'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-conda",
"version": "0.0.1",
"version": "1.0.0",
"private": true,
"description": "Github Action to install conda",
"main": "dist/index.js",
Expand Down

0 comments on commit 0f0a395

Please sign in to comment.