lubitest/.forgejo/workflows/demo.yml
lubiana fa8fa572c4
All checks were successful
/ build (push) Successful in 18s
test
2024-06-10 20:55:49 +02:00

26 lines
1 KiB
YAML

on: [push]
jobs:
build:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: docker
steps:
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: env
- name: Manually checkout
env:
REPO: '${{ github.repository }}'
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
git clone https://${TOKEN}@hannover.ccc.de/gitlab/${REPO}.git .
git fetch
git checkout ${{ github.head_ref }}
- run: echo " The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo " The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ gitea.workspace }}
- run: echo " This job's status is ${{ job.status }}."
- run: ls -l /