Skip to content

fix(ci): move ossutil setup before build and set OSS env at job level - #58

Merged
tallcode merged 2 commits into
mainfrom
fix/android-oss-env
Jul 28, 2026
Merged

tallcode merged 2 commits into
mainfrom
fix/android-oss-env

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • Move OSS_ENDPOINT / OSS_BUCKET / OSS_ACCESS_KEY_ID / OSS_ACCESS_KEY_SECRET env vars from the upload step to job-level so setup-ossutil.sh can read them to derive OSS_REGION
  • Move Setup ossutil step before the build (instead of right before upload), matching the pattern in the macOS and Windows signed workflows
  • Also print the CDN download URL (https://dl.future-os.cn/test/android/...) after OSS upload for consistency

Why

The previous run failed at the Setup ossutil step with OSS_ENDPOINT is required because the var was only set in the later upload step's env.

The setup-ossutil.sh script needs OSS_ENDPOINT to derive the region for
SigV4 signing but it was only set in the upload step, causing the setup
step to fail. Move OSS_* env vars to job level and place Setup ossutil
early, matching the pattern in the macOS/Windows signed workflows.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@tallcode
tallcode enabled auto-merge (squash) July 28, 2026 01:26
@tallcode
tallcode merged commit c46b6f2 into main Jul 28, 2026
17 checks passed
@tallcode
tallcode deleted the fix/android-oss-env branch July 28, 2026 01:29
huichen added a commit that referenced this pull request Sep 27, 2026
…0) (#879)

#877 (coverage) carried a stale gitlink and reverted the pin #872 had
just moved, so `main` pointed at 1ece355 while the skills repo had
moved on. Restore the pin to 23925fc (future-skills main), which is
the same content #872 shipped.

Skills repo commits covered by the range 1ece355..23925fc:
- #57 document task write scopes and safe dependency wiring
- #59 repair builtin lookup/design helpers, retire unsafe review generator
- #58 future-slides defaults to editable decks with native validation
- light-weight code-development skill (future-code)
- #60 coalesced supervisor delivery for future-loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant