Build And Upload Artifact #150
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Build And Upload Artifact | |
on: | |
workflow_dispatch: | |
inputs: | |
release: | |
description: 'Release Artifact' | |
required: false | |
default: false | |
type: boolean | |
e2e-test-bypass-link: | |
description: 'Failed E2E Test Run Link (for bypass)' | |
required: false | |
type: string | |
e2e-test-bypass-approver: | |
description: 'Approver GitHub Username (for bypass)' | |
required: false | |
type: string | |
tag: | |
description: 'Staging Artifact Tag' | |
required: false | |
default: 'staging' | |
type: string | |
workflow_call: | |
inputs: | |
release: | |
description: 'Release Artifact' | |
required: false | |
default: false | |
type: boolean | |
e2e-test-bypass-link: | |
description: 'Failed E2E Test Run Link (for bypass)' | |
required: false | |
type: string | |
e2e-test-bypass-approver: | |
description: 'Approver GitHub Username (for bypass)' | |
required: false | |
type: string | |
tag: | |
description: 'Staging Artifact Tag' | |
required: false | |
default: 'integration' | |
type: string | |
jobs: | |
BuildAndUpload: | |
uses: ./.github/workflows/build-and-upload.yml | |
secrets: inherit | |
with: | |
release: ${{inputs.release}} | |
tag: ${{inputs.tag}} | |
e2e-test-bypass-link: ${{inputs.e2e-test-bypass-link}} | |
e2e-test-bypass-approver: ${{inputs.e2e-test-bypass-approver}} | |
test-image-before-upload: ${{ inputs.e2e-test-bypass-link == '' && inputs.e2e-test-bypass-approver == '' }} |