Skip to content

Commit 5b8f4c0

Browse files
authored
Merge pull request #212 from OpenVoxProject/optional_upload
Add switch for uploading to S3
2 parents 7a375b1 + fe06e12 commit 5b8f4c0

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)