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 May 6, 2020
1 parent f41ada3 commit d7f8bd6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: 'Setup conda to use in later actions'
author: 'Sebastian Weigand'
inputs:
activate-conda:
description: "Wether to activate the conda base env (Default: 'true')"
description: "Whether to activate the conda base env (Default: 'true')"
required: false
default: 'true'
update-conda:
Expand Down
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":"fd29ea5827f85aedaf899dc6bcaa8744b2e2d948","ref":"refs/tags/v1.0.2","tagName":"v1.0.2","branch":"release","tags":["v1","v1.0.2"],"updated_at":"2019-12-18T20:30:55.396Z"}
{"owner":"s-weigand","repo":"setup-conda","sha":"a49fa41ad2376642af89853a368c03bbf8efa230","ref":"refs/tags/v1.0.3","tagName":"v1.0.3","branch":"release","tags":["v1.0.3","v1"],"updated_at":"2020-05-06T09:38:21.487Z"}
10 changes: 9 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4917,7 +4917,15 @@ const chown_conda_macOs = (config) => __awaiter(this, void 0, void 0, function*
const update_conda = (config) => __awaiter(this, void 0, void 0, function* () {
if (config.update_conda) {
console.log('Updating conda');
yield exec.exec('conda', ['update', '-y', 'conda']);
yield exec.exec('conda', [
'update',
'-y',
'-n',
'base',
'-c',
'defaults',
'conda'
]);
}
});
/**
Expand Down

0 comments on commit d7f8bd6

Please sign in to comment.