From bcd3c3a9c734559e6232fb5505b79abe3d9fa4c6 Mon Sep 17 00:00:00 2001 From: hermes-claw Date: Thu, 6 Aug 2026 23:57:40 -0400 Subject: [PATCH] =?UTF-8?q?fix(ci):=20fait=20=C3=A9chouer=20le=20CI=20si?= =?UTF-8?q?=20l'upload=20Nexus=20=C3=A9choue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index bbd16f6..704aefd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -79,6 +79,7 @@ jobs: NEXUS_USER: ${{ secrets.NEXUS_USER }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} run: | + set -euo pipefail VERSION=${GITHUB_REF#refs/tags/} for FILE in build/ntfy-bridge-*; do [ -f "$FILE" ] || continue @@ -88,8 +89,8 @@ jobs: -X PUT \ -H "Content-Type: application/octet-stream" \ --data-binary "@${FILE}" \ - "${NEXUS_URL}/repository/raw-hosted/ntfy-bridge/${VERSION}/${FNAME}" \ - && echo " OK" || echo " FAILED" + "${NEXUS_URL}/repository/raw-hosted/ntfy-bridge/${VERSION}/${FNAME}" + echo " OK" done - name: Publish Release (tags only)