Skip to content

Commit

Permalink
Fix not setting TEA_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 25, 2023
1 parent a106a11 commit 42fbb19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[`install.sh`](./install.sh) is delivered when you `curl tea.xyz`.

# GitHub Action 0.12.2
# GitHub Action 0.12.3

This repository also provides the `tea` GitHub Action.

Expand Down
2 changes: 2 additions & 0 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ async function go() {
execSync(`${teafile} ${target}`, {stdio: "inherit", env})
}

fs.appendFileSync(GITHUB_ENV, `TEA_PREFIX=${PREFIX}\n`, {encoding: 'utf8'})
fs.appendFileSync(GITHUB_OUTPUT, `prefix=${PREFIX}\n`, {encoding: 'utf8'})

process.stderr.write(`installed ${PREFIX}/tea.xyz/v${v}\n`)
}

Expand Down

0 comments on commit 42fbb19

Please sign in to comment.