parent
a8e0227eeb
commit
0eb4c290d0
2 changed files with 37 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
on: [push]
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
build:
|
||||
env:
|
||||
|
@ -9,3 +9,12 @@ jobs:
|
|||
- run: ls -l /opt
|
||||
- run: echo 'lol' >> /opt/hostedtoolcache/omg.txt
|
||||
- run: cat /opt/hostedtoolcache/omg.txt
|
||||
- name: lol
|
||||
run: |
|
||||
output=$(cat ./output.txt)
|
||||
echo $output
|
||||
curl -vvv -X POST \
|
||||
-H "Authorization: token ${GITHUB_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"body": "$output"}' \
|
||||
"${{ env.GITHUB_SERVER_URL }}/api/v1/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue