Fix monero_c Gitea workflow regressions
build / peya x86_64 Linux (push) Successful in 13m19s
build / peya Win64 (push) Successful in 14m47s
consistency / checksum sync (push) Successful in 6s
consistency / Dart bindings sync (push) Failing after 2m18s

This commit is contained in:
Codex
2026-04-09 12:29:46 +02:00
parent ddd7d5edea
commit a8d16f918c
6 changed files with 6 additions and 41 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
target:
- name: x86_64 Linux
host: x86_64-linux-gnu
packages: automake autotools-dev build-essential ca-certificates ccache clang cmake curl git libssl-dev libtool pkg-config python3
packages: automake autotools-dev build-essential ca-certificates ccache clang cmake curl git gperf libssl-dev libtool pkg-config python3
- name: Win64
host: x86_64-w64-mingw32
packages: automake autotools-dev build-essential ca-certificates ccache clang cmake curl git libssl-dev libtool pkg-config python3 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
-25
View File
@@ -45,31 +45,6 @@ jobs:
fetch-depth: 1
submodules: false
- name: Configure Gitea auth for private submodules
env:
MONERO_C_GITEA_PAT: ${{ secrets.MONERO_C_GITEA_PAT }}
PEYA_GITEA_PAT: ${{ secrets.PEYA_GITEA_PAT }}
GITEA_PAT: ${{ secrets.GITEA_PAT }}
run: |
set -euo pipefail
AUTH_TOKEN="${MONERO_C_GITEA_PAT:-${PEYA_GITEA_PAT:-${GITEA_PAT:-}}}"
if [ -z "${AUTH_TOKEN}" ]; then
echo "Missing Gitea PAT secret for private submodules"
exit 1
fi
git config --global url."http://tiamak:${AUTH_TOKEN}@54.38.205.168:3000/".insteadOf "http://54.38.205.168:3000/"
git submodule sync
git -c protocol.version=2 submodule update --init --force monero salvium peya
git -C monero submodule sync --recursive
git -C salvium submodule sync --recursive
git -C peya submodule sync --recursive
git -C monero -c protocol.version=2 submodule update --init --force --recursive
git -C salvium -c protocol.version=2 submodule update --init --force --recursive
git -C peya -c protocol.version=2 submodule update --init --force --recursive
- name: Setup Flutter
uses: https://github.com/subosito/flutter-action@v2
with:
+2 -12
View File
@@ -132,7 +132,7 @@ jobs:
target:
- name: x86_64 Linux
host: x86_64-linux-gnu
packages: automake autotools-dev build-essential ca-certificates ccache clang cmake curl git libssl-dev libtool pkg-config python3
packages: automake autotools-dev build-essential ca-certificates ccache clang cmake curl git gperf libssl-dev libtool pkg-config python3
- name: Win64
host: x86_64-w64-mingw32
packages: automake autotools-dev build-essential ca-certificates ccache clang cmake curl git libssl-dev libtool pkg-config python3 gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64
@@ -224,17 +224,7 @@ jobs:
for asset in "${files[@]}"; do
asset_name="$(basename "${asset}")"
existing_id="$(ASSET_NAME="${asset_name}" python3 - <<'PY'
import json, os
name = os.environ["ASSET_NAME"]
with open("/tmp/release-assets.json", "r", encoding="utf-8") as f:
assets = json.load(f)
for item in assets:
if item.get("name") == name:
print(item["id"])
break
PY
)"
existing_id="$(jq -r --arg name "${asset_name}" '.[] | select(.name == $name) | .id' /tmp/release-assets.json | head -n 1)"
if [ -n "${existing_id}" ]; then
curl -sS \