Skip to content
file

GitHub Action

Update iOS Plist

v1.1.0 Latest version

Update iOS Plist

file

Update iOS Plist

Update or add custom key/value pairs in your Info.plist file

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Update iOS Plist

uses: dppeak/[email protected]

Learn more about this action in dppeak/update-ios-plist-action

Choose a version

Update iOS Plist

This action updates or adds custom key/value pairs in the Info.plist file for your iOS projects.

Inputs

info-plist-path

Required The relative path for the Info.plist file.

key-value-json

Required A JSON string containing an array of key/value pairs.

print-file

Output the Info.plist file in console before and after update.

Usage

- name: Update iOS Plist
  uses: dppeak/[email protected]
  with:
    info-plist-path: './path_to_your/Info.plist'
    key-value-json: '[{"FirstCustomKey": "Some new Value"}, {"SecondCustomKey": "Another Value"}]'
    print-file: true