Skip to content

Commit fe06e12

Browse files
committed
Add switch for uploading to S3
When we're just testing things, we often don't need to upload things to S3 and can just download the artifacts directly from the job. This lets us disable uploading to S3 so we don't fill it with too much garbage.
1 parent 7a375b1 commit fe06e12

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
required: false
2424
type: string
2525
default: 'main'
26+
upload_to_s3:
27+
description: 'Whether to upload the built artifacts to S3. If false, the artifacts will only be uploaded as workflow artifacts.'
28+
required: false
29+
type: boolean
30+
default: true
2631
use_dev:
2732
description: 'Use the "dev" branch of the shared-actions repo'
2833
required: false
@@ -38,6 +43,7 @@ jobs:
3843
project_name: ${{ inputs.project_name }}
3944
platform_list: ${{ inputs.platform_list }}
4045
vanagon_branch: ${{ inputs.vanagon_branch }}
46+
upload_to_s3: ${{ inputs.upload_to_s3 }}
4147
working_directory: 'packaging'
4248
secrets: inherit
4349
build_dev:
@@ -48,5 +54,6 @@ jobs:
4854
project_name: ${{ inputs.project_name }}
4955
platform_list: ${{ inputs.platform_list }}
5056
vanagon_branch: ${{ inputs.vanagon_branch }}
57+
upload_to_s3: ${{ inputs.upload_to_s3 }}
5158
working_directory: 'packaging'
5259
secrets: inherit

0 commit comments

Comments
 (0)