aws-codebuild-run-build
aws-codebuild-run-build copied to clipboard
Option to detach codebuild run.
I am trying to use CodeBuild in time-consuming build that might exceed GitHub Actions free tier timeout (6 hrs).
Is it possible to somehow detach the build? I am fine with the information that it successfully started.
I can work around by simply retracting GetLogsEvents permission from the aws user, but then GH build fails, even though codebuild starts (and finishes) successfully.
This worked for me just fine:
- name: Start CodeBuild run
run: aws codebuild start-build --project-name $PROJECT --source-version $GITHUB_SHA