Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
fix: update the way environment variables are set
Browse files Browse the repository at this point in the history
  • Loading branch information
brendon1555 committed Aug 1, 2021
1 parent 2e24461 commit 81dfa99
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 25 deletions.
105 changes: 85 additions & 20 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/setup-python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ async function run(): Promise<void> {

const matchersPath = path.join(__dirname, '..', '.github')
const linodeCliToken: string = core.getInput('LINODE_CLI_TOKEN')
console.log(`::set-env name=LINODE_CLI_TOKEN::${linodeCliToken}`)
core.exportVariable('LINODE_CLI_TOKEN', linodeCliToken)
console.log(`##[add-matcher]${path.join(matchersPath, 'python.json')}`)
} catch (err) {
core.setFailed(err.message)
Expand Down

0 comments on commit 81dfa99

Please sign in to comment.