Upload binary size data after publishing a new release. This is preferred over the alternative of triggering the release binary sizes workflow on github's release events, which requires us to change the credentials used to create the release to a PAT.
Changes
Add a dry-run flag to skip uploads on pull_request or workflow_dispatch events. dry_run will be false for scheduled builds.
Call the release-swift-toolchain-binary-sizes.yml workflow at the end of the run.
Description
Upload binary size data after publishing a new release. This is preferred over the alternative of triggering the release binary sizes workflow on github's release events, which requires us to change the credentials used to create the release to a PAT.
Changes
pull_request
orworkflow_dispatch
events.dry_run
will befalse
for scheduled builds.release-swift-toolchain-binary-sizes.yml
workflow at the end of the run.Testing
https://github.com/thebrowsercompany/swift-build/actions/runs/9100009779