From 1027b7d73ffa19d55cfbd7bec9d36710653f8e40 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 24 Jul 2025 02:03:37 +0200 Subject: [PATCH] Update action.yml --- action.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 70b5413..a269c3c 100644 --- a/action.yml +++ b/action.yml @@ -231,7 +231,11 @@ runs: env: CI_TOKEN: ${{ inputs.ci-token }} run: | - LOG_FILE="outputs/commit-push-wiki.log" + OUTPUT_DIR="outputs" + LOG_FILE="${OUTPUT_DIR}/commit-push-wiki.log" + + mkdir -p "$OUTPUT_DIR" + echo "🚀 Pushing wiki changes..." >> $LOG_FILE cd wiki @@ -258,7 +262,10 @@ runs: - name: Log wiki report URLs shell: bash run: | - LOG_FILE="outputs/wiki-report-urls.log" + + LOG_FILE=""$OUTPUT_DIR"/wiki-report-urls.log" + + mkdir -p "$OUTPUT_DIR" REPO_URL="https://${{ inputs.gitea-domain }}/${{ github.repository }}" SHORT_SHA=$(git rev-parse --short HEAD)