From 479778df0b77c07176589b6b790ee5ec411a3adb Mon Sep 17 00:00:00 2001 From: Florian Friedrich Date: Thu, 12 Nov 2020 16:53:17 +0100 Subject: [PATCH] Add two more parameters --- .github/workflows/master-deploy.yml | 12 ++++++++++++ .github/workflows/pull-request-tests.yml | 12 ++++++++++++ src/main.ts | 2 ++ 3 files changed, 26 insertions(+) diff --git a/.github/workflows/master-deploy.yml b/.github/workflows/master-deploy.yml index 30a274a..0f14ed6 100644 --- a/.github/workflows/master-deploy.yml +++ b/.github/workflows/master-deploy.yml @@ -160,6 +160,8 @@ jobs: derived-data-path: ${{matrix.derived-data-path}} skip-testing: ${{matrix.skip-testing}} skip-unavailable-actions: true + allow-provisioning-updates: true + allow-provisioning-device-registration: true build-settings: ${{matrix.build-settings}} action: ${{matrix.action}} use-xcpretty: ${{matrix.use-xcpretty}} @@ -187,6 +189,8 @@ jobs: -derivedDataPath ${{matrix.derived-data-path}} \ -skip-testing ${{matrix.skip-testing}} \ -skipUnavailableActions \ + -allowProvisioningUpdates \ + -allowProvisioningDeviceRegistration \ ${{matrix.build-settings}} \ ${{matrix.action}}" if [ "${{matrix.use-xcpretty}}" == "true" ]; then @@ -242,6 +246,8 @@ jobs: derived-data-path: ${{matrix.derived-data-path}} skip-testing: ${{matrix.skip-testing}} skip-unavailable-actions: true + allow-provisioning-updates: true + allow-provisioning-device-registration: true build-settings: ${{matrix.build-settings}} action: ${{matrix.action}} use-xcpretty: ${{matrix.use-xcpretty}} @@ -270,6 +276,8 @@ jobs: -derivedDataPath ${{matrix.derived-data-path}} \ -skip-testing ${{matrix.skip-testing}} \ -skipUnavailableActions \ + -allowProvisioningUpdates \ + -allowProvisioningDeviceRegistration \ ${{matrix.build-settings}} \ ${{matrix.action}}" if [ "${{matrix.use-xcpretty}}" == "true" ]; then @@ -325,6 +333,8 @@ jobs: derived-data-path: ${{matrix.derived-data-path}} skip-testing: ${{matrix.skip-testing}} skip-unavailable-actions: true + allow-provisioning-updates: true + allow-provisioning-device-registration: true build-settings: ${{matrix.build-settings}} action: ${{matrix.action}} use-xcpretty: ${{matrix.use-xcpretty}} @@ -353,6 +363,8 @@ jobs: -derivedDataPath ${{matrix.derived-data-path}} \ -skip-testing ${{matrix.skip-testing}} \ -skipUnavailableActions \ + -allowProvisioningUpdates \ + -allowProvisioningDeviceRegistration \ ${{matrix.build-settings}} \ ${{matrix.action}}" if [ "${{matrix.use-xcpretty}}" == "true" ]; then diff --git a/.github/workflows/pull-request-tests.yml b/.github/workflows/pull-request-tests.yml index 517fbbd..ffa047e 100644 --- a/.github/workflows/pull-request-tests.yml +++ b/.github/workflows/pull-request-tests.yml @@ -154,6 +154,8 @@ jobs: derived-data-path: ${{matrix.derived-data-path}} skip-testing: ${{matrix.skip-testing}} skip-unavailable-actions: true + allow-provisioning-updates: true + allow-provisioning-device-registration: true build-settings: ${{matrix.build-settings}} action: ${{matrix.action}} use-xcpretty: ${{matrix.use-xcpretty}} @@ -181,6 +183,8 @@ jobs: -derivedDataPath ${{matrix.derived-data-path}} \ -skip-testing ${{matrix.skip-testing}} \ -skipUnavailableActions \ + -allowProvisioningUpdates \ + -allowProvisioningDeviceRegistration \ ${{matrix.build-settings}} \ ${{matrix.action}}" if [ "${{matrix.use-xcpretty}}" == "true" ]; then @@ -240,6 +244,8 @@ jobs: derived-data-path: ${{matrix.derived-data-path}} skip-testing: ${{matrix.skip-testing}} skip-unavailable-actions: true + allow-provisioning-updates: true + allow-provisioning-device-registration: true build-settings: ${{matrix.build-settings}} action: ${{matrix.action}} use-xcpretty: ${{matrix.use-xcpretty}} @@ -268,6 +274,8 @@ jobs: -derivedDataPath ${{matrix.derived-data-path}} \ -skip-testing ${{matrix.skip-testing}} \ -skipUnavailableActions \ + -allowProvisioningUpdates \ + -allowProvisioningDeviceRegistration \ ${{matrix.build-settings}} \ ${{matrix.action}}" if [ "${{matrix.use-xcpretty}}" == "true" ]; then @@ -327,6 +335,8 @@ jobs: derived-data-path: ${{matrix.derived-data-path}} skip-testing: ${{matrix.skip-testing}} skip-unavailable-actions: true + allow-provisioning-updates: true + allow-provisioning-device-registration: true build-settings: ${{matrix.build-settings}} action: ${{matrix.action}} use-xcpretty: ${{matrix.use-xcpretty}} @@ -355,6 +365,8 @@ jobs: -derivedDataPath ${{matrix.derived-data-path}} \ -skip-testing ${{matrix.skip-testing}} \ -skipUnavailableActions \ + -allowProvisioningUpdates \ + -allowProvisioningDeviceRegistration \ ${{matrix.build-settings}} \ ${{matrix.action}}" if [ "${{matrix.use-xcpretty}}" == "true" ]; then diff --git a/src/main.ts b/src/main.ts index d769e71..ea13cdf 100644 --- a/src/main.ts +++ b/src/main.ts @@ -141,6 +141,8 @@ async function main() { addInputArg('derived-data-path', 'derivedDataPath'); addInputArg('skip-testing'); addFlagArg('skip-unavailable-actions', 'skipUnavailableActions'); + addFlagArg('allow-provisioning-updates', 'allowProvisioningUpdates'); + addFlagArg('allow-provisioning-device-registration', 'allowProvisioningDeviceRegistration'); const buildSettings = core.getInput('build-settings'); if (buildSettings) {