Skip to content

Commit

Permalink
run action
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadiii committed Feb 22, 2024
1 parent 28722ac commit 8496736
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
flags: '-n,config-name,-i,ciAction,-s,csAction,-a,aAction,-e,eAction'

- name: Get the output time
run: echo "${{ fromJson(steps.hello.outputs.RESULT)}}"
run: echo "${{ fromJson(steps.hello.outputs.result)}}"

- name: List ls
run: ls
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:

# Define your outputs here.
outputs:
RESULT:
result:
description: 'result of the cli'

runs:
Expand Down
2 changes: 1 addition & 1 deletion 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 src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export async function run(): Promise<void> {
core.getInput('flags')
)
console.log(result)
core.setOutput('RESULT', result)
core.setOutput('result', result)
} catch (err) {}
}

0 comments on commit 8496736

Please sign in to comment.