You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
provide AWS credentials for uploading build dependencies from GitHub Actions #18124
#18123 adds a workflow_dispatch workflow (os-build-dependencies-windows.yml) that builds the Windows Boost / SOCI prebuilts consumed by install-dependencies.cmd. The workflow can upload the resulting archives directly to the rstudio-buildtools S3 bucket, but no AWS credentials are currently available to GitHub Actions in this repository, so the upload step is gated behind an upload input that defaults to off.
What's needed
An IAM role assumable via GitHub's OIDC provider (token.actions.githubusercontent.com), with its trust policy restricted to this repository (ideally to the os-build-dependencies-windows.yml workflow on main).
Permissions: s3:PutObject and s3:PutObjectAcl on arn:aws:s3:::rstudio-buildtools/* (uploads use --acl public-read, matching the existing dependencies/tools/upload-*.sh scripts).
The role ARN stored as an Actions secret named AWS_BUILDTOOLS_UPLOAD_ROLE_ARN on this repository (the workflow already declares permissions: id-token: write and uses aws-actions/configure-aws-credentials).
Alternatives considered
The repo's existing Actions secrets (CONNECT_API_KEY, OP_SERVICE_ACCOUNT_TOKEN) are not AWS credentials; the 1Password service account was deliberately scoped to e2e secrets and shouldn't be widened.
Jenkins has AWS access via withAWS(role: 'build' / 'ide-build'), but those roles are assumed from the Jenkins agents' instance profiles and cannot be exported to GitHub Actions. The Jenkins Windows agents are also VS 2022 only, so they cannot produce the msvc145 prebuilts this workflow exists to build (Update build pipeline to Visual Studio 2026 (remove VS 2026 CI stopgaps from #17850) #17986).
Interim
Until the role exists, run the workflow with upload: false and push the artifacts manually with developer SSO credentials via dependencies/tools/upload-windows-dependencies.sh (added in #18123).
Activity
add interim manual upload script for windows dependency artifacts
automate building windows boost/soci prebuilts via github actions (#1…
kevinushey commentedon Jul 3, 2026
Implemented.