Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

17 changes: 14 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ inputs:
tool_version:
description: ""
required: false
default: "latest"
github_token:
description: "API token for GitHub to increase the rate limit."
default: ""
Expand All @@ -31,5 +30,17 @@ outputs:
value: "126"

runs:
using: "docker"
image: "Dockerfile"
using: "composite"
steps:
- uses: OJFord/setup-tenv@issues/16
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't trust me with that(!) - I'll revert to tofuutils/setup-tenv@main (it doesn't have releases) once tofuutils/setup-tenv#17 is in (or tofuutils/setup-tenv#16 resolved some way).

with:
github_token: "${{inputs.github_token}}"
tenv_wrapper: "false"

- run: "tenv ${{inputs.tool_name}} install ${{inputs.tool_version}}"
if: ${{inputs.tool_version != ''}}
shell: "bash"

- run: "tenv ${{inputs.tool_name}} detect --install"
if: ${{inputs.tool_version == ''}}
shell: "bash"
25 changes: 0 additions & 25 deletions src/tenv-action.sh

This file was deleted.