diff --git a/action.yml b/action.yml index bab7472..1cfbcaf 100644 --- a/action.yml +++ b/action.yml @@ -109,6 +109,10 @@ inputs: run-with-arch: description: Arguments to pass to the `arch` command when running xcodebuild (and xcpretty if enabled). If not specified, `arch` is not included in the commands. required: false + disable-automatic-package-resolution: + description: Prevent packages from automatically being resolved to versions other than those recorded in the `Package.resolved` file + required: true + default: true runs: using: node12 main: dist/index.js diff --git a/src/main.ts b/src/main.ts index e3fcd4f..7ceeff8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -164,6 +164,7 @@ async function main() { addFlagArg('skip-unavailable-actions', 'skipUnavailableActions'); addFlagArg('allow-provisioning-updates', 'allowProvisioningUpdates'); addFlagArg('allow-provisioning-device-registration', 'allowProvisioningDeviceRegistration'); + addFlagArg('disable-automatic-package-resolution', 'disableAutomaticPackageResolution'); const buildSettings = core.getInput('build-settings'); if (buildSettings) {