From fe44e9a6cddf7e4e44bcba497a4c653d1c138d2f Mon Sep 17 00:00:00 2001 From: TeTeHacko Date: Fri, 13 Nov 2026 17:29:14 +0100 Subject: [PATCH] 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 --- .github/workflows/pub-release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pub-release.yml b/.github/workflows/pub-release.yml index ea22fa5d..0b2e6e59 100644 --- a/.github/workflows/pub-release.yml +++ b/.github/workflows/pub-release.yml @@ -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'