Skip to content

Commit 3f87f76

Browse files
authored
Merge pull request #791 from dscho/set-result
Let the GitHub Action return the path to the SDK as result
2 parents dbc13f2 + eff41ac commit 3f87f76

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ async function run(): Promise<void> {
5151
)
5252
const outputDirectory =
5353
core.getInput('path') || `${getDriveLetterPrefix()}${artifactName}`
54+
core.setOutput('result', outputDirectory)
55+
5456
let useCache: boolean
5557
switch (core.getInput('cache')) {
5658
case 'true':

0 commit comments

Comments
 (0)