From e7e421519914d998f438fd14b053bdd80cd915b7 Mon Sep 17 00:00:00 2001 From: Arne Weiss Date: Sun, 26 May 2024 22:21:22 +0200 Subject: [PATCH] . --- .gitea/workflows/demo.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 1ca6650..3b8cfea 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -6,8 +6,21 @@ jobs: Explore-Gitea-Actions: runs-on: native steps: - - run: ls - - run: whoami + - name: Pre-execution setup + run: | + BASE_PATH="/var/lib/gitea-runner/r0/.cache/act" + DYNAMIC_PATH=$(mktemp -d "$BASE_PATH"/XXXXXXXXXX/act/workflow) + echo "DYNAMIC_PATH=$DYNAMIC_PATH" >> $GITHUB_ENV + chmod -R 777 "$BASE_PATH" + echo "Created dynamic path: $DYNAMIC_PATH" + - name: Debug environment + run: | + echo "Running on $(uname -a)" + echo "Current user: $(whoami)" + echo "Home directory: $HOME" + echo "Current directory: $(pwd)" + echo "Directory contents:" + ls -la $DYNAMIC_PATH - 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 }}."