pub-release: artifact path without the stray quote, bases_repo input for testing the delta path in a dry run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-13 17:29:14 +01:00
1 parent 51e733e500
commit fe44e9a6cd
1 file changed
+8 -1
+8 -1
View File
@@ -52,6 +52,10 @@ name: pub-release
description: "build and package only, no release (runs in the private repo too)"
required: false
default: "false"
bases_repo:
description: "dry run only: take delta bases from this repo's releases instead (testing the delta path)"
required: false
default: ""
concurrency:
group: pub-release
@@ -149,6 +153,8 @@ jobs:
TAG: ${{ steps.src.outputs.tag }}
OTA_SIGNING_KEY: ${{ secrets.OTA_SIGNING_KEY }}
TOKEN: ${{ secrets.GITEA_TOKEN || github.token }}
DRY: ${{ github.event.inputs.dry_run }}
BASES_REPO: ${{ github.event.inputs.bases_repo }}
run: |
set -euo pipefail
source .github/fw-flags.sh
@@ -163,6 +169,7 @@ jobs:
pip install -q detools==0.53.0 cryptography
echo '{}' >"$dist/manifest.json"
# earlier public releases (newest first): delta bases for the -ota images
[ "$DRY" = "true" ] && [ -n "$BASES_REPO" ] && PUB_REPO=$BASES_REPO
api="$GITEA/api/v1/repos/$PUB_REPO"
auth="header = \"Authorization: token $TOKEN\""
bases="$RUNNER_TEMP/bases"
@@ -243,7 +250,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: pub-release-dry-run
path: dist/"
path: dist/
- name: Release
if: github.event.inputs.dry_run != 'true'