parent
2118a0aa20
commit
a8e0227eeb
1 changed files with 2 additions and 18 deletions
|
@ -5,23 +5,7 @@ jobs:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
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 /
|
- run: ls -l /
|
||||||
- run: ls -l /opt
|
- run: ls -l /opt
|
||||||
|
- run: echo 'lol' >> /opt/hostedtoolcache/omg.txt
|
||||||
|
- run: cat /opt/hostedtoolcache/omg.txt
|
||||||
|
|
Loading…
Reference in a new issue