diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index 8421df9..f51b9e2 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -5,23 +5,7 @@ jobs: 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 / - run: ls -l /opt + - run: echo 'lol' >> /opt/hostedtoolcache/omg.txt + - run: cat /opt/hostedtoolcache/omg.txt