morska rlease
All checks were successful
BuildApp / build-frontend (push) Successful in 59s
BuildApp / build-backend (push) Successful in 2m9s

This commit is contained in:
Michał Zieliński
2025-09-12 11:29:14 +02:00
parent cc5ffca3aa
commit 960096a66b

View File

@@ -27,15 +27,15 @@ jobs:
- name: Resolve repo/env
id: repo
env:
GITEA_SERVER_URL: ${{ github.server_url }} # np. https://code.bim-it.pl
GITHUB_REPOSITORY: ${{ github.repository }} # owner/repo
API_BASE: ${{ env.API_BASE }}
run: |
set -euo pipefail
OWNER="${GITHUB_REPOSITORY%%/*}"
REPO="${GITHUB_REPOSITORY##*/}"
echo "owner=$OWNER" >> $GITHUB_OUTPUT
echo "repo=$REPO" >> $GITHUB_OUTPUT
echo "api=$API_BASE" >> $GITHUB_OUTPUT
echo "api=${GITEA_SERVER_URL%/}/api/v1" >> $GITHUB_OUTPUT
- name: Probe API & auth
env:
@@ -77,6 +77,7 @@ jobs:
| sort_by(.run_number) | reverse | .[0].id // empty
')"
test -n "$RUN_ID" && echo "run_id=$RUN_ID" >> $GITHUB_OUTPUT || { echo "No successful build found"; exit 1; }
- name: Download artifacts (frontend, webapi)
env:
API: ${{ steps.repo.outputs.api }}