lubitest/.forgejo/workflows/demo.yml
lubiana 0eb4c290d0
Some checks failed
/ build (pull_request) Failing after 45s
lol
2024-09-17 18:48:56 +02:00

20 lines
654 B
YAML

on: [pull_request]
jobs:
build:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: docker
steps:
- run: ls -l /
- 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"