Skip to content

Commit fea8580

Browse files
committed
Fix ci workflow
1 parent 74cb2ac commit fea8580

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ jobs:
6262

6363
- name: Print Output
6464
id: output
65-
run: echo "${{ steps.test-action.outputs.time }}"
65+
run: echo "${{ steps.test-action.outputs.path }}"

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ inputs:
2121
# Define your outputs here.
2222
outputs:
2323
path:
24-
description: 'Not used yet.'
24+
description: 'Path to the extracted files.'
2525

2626
runs:
2727
using: node20

dist/index.js

Lines changed: 1 addition & 1 deletion
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.

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export async function run(): Promise<void> {
104104
console.log(`Qt Creator ${version} has been extracted to ${destination}`)
105105

106106
// Set outputs for other workflow steps to use
107-
core.setOutput('time', new Date().toTimeString())
107+
core.setOutput('path', destination)
108108
} catch (error) {
109109
console.log('Error:', error)
110110
// Fail the workflow run if an error occurs

0 commit comments

Comments
 (0)