File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 67
67
- name : Print Output
68
68
id : output
69
69
run : echo "${{ steps.test-action.outputs.response }}"
70
+
71
+ test-action-prompt-file :
72
+ name : GitHub Actions Test with Prompt File
73
+ runs-on : ubuntu-latest
74
+
75
+ steps :
76
+ - name : Checkout
77
+ id : checkout
78
+ uses : actions/checkout@v4
79
+
80
+ - name : Create Prompt File
81
+ run : echo "hello" > prompt.txt
82
+
83
+ - name : Test Local Action with Prompt File
84
+ id : test-action-prompt-file
85
+ uses : ./
86
+ with :
87
+ prompt-file : prompt.txt
88
+ env :
89
+ GITHUB_TOKEN : ${{ github.token }}
90
+
91
+ - name : Print Output
92
+ run : |
93
+ echo "Response saved to: ${{ steps.test-action-prompt-file.outputs.response-file }}"
94
+ cat "${{ steps.test-action-prompt-file.outputs.response-file }}"
You can’t perform that action at this time.
0 commit comments