support local_target_platform input parameter for release.yml build

This commit is contained in:
Axel Uhl
2024-11-20 20:34:37 +01:00
parent a4ea728cb7
commit c6ca9c4265
+4 -1
View File
@@ -10,6 +10,9 @@ on:
skip_tests:
description: Skip tests (set to "true" to skip all tests)
default: 'false'
local_target_platform:
description: Build with a local target platform (set to "true" to use local target platform)
default: 'false'
jobs:
build:
@@ -57,7 +60,7 @@ jobs:
APP_PARAMETERS: "-Daws.region=eu-west-1 -Dgoogle.maps.authenticationparams=${{ secrets.GOOGLE_MAPS_AUTHENTICATIONPARAMS }} -Daws.s3.test.s3AccessId=${{ secrets.AWS_S3_TEST_S3ACCESSID }} -Daws.s3.test.s3AccessKey=${{ secrets.AWS_S3_TEST_S3ACCESSKEY }}"
JAVA8_HOME: ${{env.JAVA_HOME_8_X64}}
run: |
./configuration/buildAndUpdateProduct.sh -x 60 ${{ github.event.inputs.skip_tests == 'true' && '-t' || '' }} build 2>&1
./configuration/buildAndUpdateProduct.sh -x 60 ${{ github.event.inputs.skip_tests == 'true' && '-t' || '' }} ${{ github.event.inputs.local_target_platform == 'true' && '-v' || '' }} build 2>&1
- name: Upload build log
uses: actions/upload-artifact@v4
if: always()