Structure
PlayStoreAction
Uploads a release artifact to Google Play and assigns it to a distribution track.
struct PlayStoreActionOverview
Wraps the GooglePlayUploadService transactional edit→upload→track→commit workflow. Supports both AAB (preferred) and APK artifacts.
Usage
let result = try await PlayStoreAction().run(
with: .init(
aabPath: "./build/app-release.aab",
track: "beta",
releaseNotes: ["en-US": "Bug fixes and improvements"]
),
context: androidContext
)
print("Uploaded versionCode: \(result.versionCode)")Topics
Configuration
struct OptionsConfiguration options for the Play Store upload action.
Results
struct ResultResult of a successful Play Store upload.
Initializers
init()Creates a
PlayStoreAction.
Instance Methods
func run(with: PlayStoreAction.Options, context: ActionContext) async throws -> PlayStoreAction.ResultExecute the Play Store upload action.
Type Properties
static let description: StringHuman-readable description for
--helpoutput.static let name: StringThe registered name used in Shipfile lanes.
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype