File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 66 - main
77 paths :
88 - " actions/with-post-action/**"
9- - " .github/workflows/test-with-post-action .yaml"
9+ - " .github/workflows/test-with-post-step .yaml"
1010
1111 pull_request :
1212 paths :
1313 - " actions/with-post-action/**"
14- - " .github/workflows/test-with-post-action .yaml"
14+ - " .github/workflows/test-with-post-step .yaml"
1515 types :
1616 - edited
1717 - opened
@@ -34,12 +34,12 @@ jobs:
3434
3535 - name : Run Create GitHub App Token action
3636 id : command
37- uses : ./actions/create-github-app-token
3837 run : |
3938 echo "running command"
4039 echo "test_output=test_output_content" >> "${GITHUB_OUTPUT}"
4140
4241 - name : Skip invalid instance
4342 uses : ./actions/with-post-step
44- run :
45- echo ${{ steps.command.outputs.test_output }}
43+ with :
44+ main : echo "with-post-step run"
45+ post : echo ${{ steps.command.outputs.test_output }}
Original file line number Diff line number Diff line change @@ -25,14 +25,15 @@ jobs:
2525
2626 - name : Run Create GitHub App Token action
2727 id : command
28- uses : ./actions/create-github-app-token
2928 run : |
3029 echo "running command"
3130 echo "test_output=test_output_content" >> "${GITHUB_OUTPUT}"
3231
3332 - name : Skip invalid instance
3433 uses : ./actions/with-post-step
35- run : echo ${{ steps.command.outputs.test_output }}
34+ with :
35+ main : echo "with-post-step run"
36+ post : echo ${{ steps.command.outputs.test_output }}
3637` ` `
3738
3839<!-- x-release-please-end-version -->
Original file line number Diff line number Diff line change 22
33name : With post step
44
5- description : ' Generic JS Action to execute a main command and set a command as a post step.'
5+ description : " Generic JS Action to execute a main command and set a command as a post step."
66
77inputs :
88 main :
9- description : ' Main command/script.'
9+ description : " Main command/script."
1010 required : true
1111 post :
12- description : ' Post command/script.'
12+ description : " Post command/script."
1313 required : true
1414 key :
15- description : ' Name of the state variable used to detect the post step.'
15+ description : " Name of the state variable used to detect the post step."
1616 required : false
1717 default : POST
1818
1919runs :
20- using : ' node24 '
21- main : ' main.js'
22- post : ' main.js'
20+ using : " node20 "
21+ main : " main.js"
22+ post : " main.js"
You can’t perform that action at this time.
0 commit comments