NTP-11577 | Cybertron Integration
This commit is contained in:
4
.github/workflows/codePush.yml
vendored
4
.github/workflows/codePush.yml
vendored
@@ -67,7 +67,7 @@ jobs:
|
||||
package_version: ${{ needs.generate.outputs.package_version }}
|
||||
build_number: ${{ needs.generate.outputs.build_number }}
|
||||
runs-on: [default]
|
||||
if: success() && (github.event.inputs.environment != 'Prod') # Only create source map for Prod releases
|
||||
if: success() && (github.event.inputs.environment == 'Prod') # Only create source map for Prod releases
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -105,7 +105,7 @@ jobs:
|
||||
upload_sourcemap_cybertron:
|
||||
needs: generate_source_map
|
||||
runs-on: [default]
|
||||
if: success() && (github.event.inputs.environment != 'Prod')
|
||||
if: success() && (github.event.inputs.environment == 'Prod')
|
||||
steps:
|
||||
- name: Download Source Map
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
4
.github/workflows/newBuild.yml
vendored
4
.github/workflows/newBuild.yml
vendored
@@ -172,7 +172,7 @@ jobs:
|
||||
outputs:
|
||||
package_version: ${{ needs.generate.outputs.package_version }}
|
||||
build_number: ${{ needs.generate.outputs.build_number }}
|
||||
# if: success() && (github.event.inputs.environment != 'Prod') && (github.event.inputs.releaseType == 'HARD_RELEASE' || inputs.releaseType == 'HARD_RELEASE') # Only create source map for Prod releases and not for test builds
|
||||
if: success() && (github.event.inputs.environment == 'Prod') && (github.event.inputs.releaseType == 'HARD_RELEASE' || inputs.releaseType == 'HARD_RELEASE') # Only create source map for Prod releases and not for test builds
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@@ -235,7 +235,7 @@ jobs:
|
||||
upload_sourcemap_cybertron:
|
||||
needs: generate_source_map
|
||||
runs-on: [default]
|
||||
if: success() && (github.event.inputs.environment != 'Prod')
|
||||
if: success() && (github.event.inputs.environment == 'Prod')
|
||||
steps:
|
||||
- name: Download Source Map
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user