From 985c549a65ebc57ff8b6b244cf44056b860ff448 Mon Sep 17 00:00:00 2001 From: t1amak Date: Mon, 8 Dec 2025 23:52:47 +0100 Subject: [PATCH] workflows changes 2 --- .gitea/workflows/build-releases.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-releases.yml b/.gitea/workflows/build-releases.yml index b8948f0..e31accc 100644 --- a/.gitea/workflows/build-releases.yml +++ b/.gitea/workflows/build-releases.yml @@ -79,7 +79,7 @@ jobs: env: VERSION: ${{ env.P2POOL_VERSION }} TOKEN: ${{ secrets.GITEA_TOKEN }} - API_URL: ${{ github.api_url || env.GITHUB_API_URL }} + API_URL: ${{ github.api_url }} REPOSITORY: ${{ github.repository }} run: | set -euo pipefail @@ -88,9 +88,9 @@ jobs: exit 1 fi - api="${API_URL:-}" + api="${API_URL:-${GITHUB_API_URL:-}}" if [ -z "$api" ]; then - echo "API URL not provided; set github.api_url or GITHUB_API_URL." + echo "API URL not provided; set GITEA_TOKEN and ensure API URL env is available." exit 0 fi