From 5354d223dcf5d4a32f444bbbf89b76a369aa70b0 Mon Sep 17 00:00:00 2001 From: Doc Date: Wed, 8 Oct 2025 21:30:07 -0400 Subject: [PATCH] Added todo test --- .gitea/workflows/test-todo-issue.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test-todo-issue.yaml b/.gitea/workflows/test-todo-issue.yaml index 0fba528..a2bfae1 100644 --- a/.gitea/workflows/test-todo-issue.yaml +++ b/.gitea/workflows/test-todo-issue.yaml @@ -25,10 +25,19 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Set derived environment variables + # Use shell commands to write to the GITHUB_ENV file. + run: | + echo "baseUrl=${{ env.GITHUB_API_URL }}" >> $GITHUB_ENV + echo "GHE_HOST=${{ env.GITHUB_API_URL }}" >> $GITHUB_ENV + + - name: Use the new variables in subsequent steps + run: | + echo "The API URL is ${{ env.GITHUB_API_URL}}" + echo "The baseUrl is: $baseUrl" + echo "The GHE_HOST is: $GHE_HOST" + - name: Print environment - env: - baseUrl: ${{ env.GITHUB_API_URL }} - GHE_HOST: ${{ env.GITHUB_API_URL }} run: | echo "=== ENVIRONMENT ===" printenv @@ -38,7 +47,5 @@ jobs: with: excludePattern: '^(node_modules/)' env: - baseUrl: ${{ env.GITHUB_API_URL }} - GHE_HOST: ${{ env.GITHUB_API_URL }} ACTIONS_STEP_DEBUG: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file