Skip to content

Commit da0c410

Browse files
committed
mjs
1 parent b69ce29 commit da0c410

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/test-with-post-step.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,20 @@ jobs:
3232
with:
3333
persist-credentials: false
3434

35-
- name: Run Create GitHub App Token action
35+
- name: Run first command
3636
id: command
3737
run: |
38-
echo "running command"
38+
echo "running firts command"
3939
echo "test_output=test_output_content" >> "${GITHUB_OUTPUT}"
4040
4141
- name: With post step run
4242
uses: ./actions/with-post-step
4343
with:
4444
main: echo "with-post-step run"
45-
post: echo ${{ steps.command.outputs.test_output }}
45+
post: |
46+
echo ${{ steps.command.outputs.test_output }}
47+
48+
- name: Run second command
49+
id: second-command
50+
run: |
51+
echo "running second command"

actions/with-post-step/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ inputs:
1818

1919
runs:
2020
using: "node20"
21-
main: "main.js"
22-
post: "main.js"
21+
main: "main.mjs"
22+
post: "main.mjs"
File renamed without changes.

0 commit comments

Comments
 (0)