Skip to content

Can't leverage github action variables due to config file requirement #1419

@simonmcl

Description

@simonmcl

I have a swift package that only supports iOS (due to an underlying dependency only supporting iOS). Because of this I have to use the jazzy config file as I can't pass in comma separated strings as args (e.g. "platform=iOS Simulator,OS=26.0,name=iPhone 17"), as mentioned in the README

I'm trying to leverage github actions and organisation variables to reduce the amount of upkeep my many scripts need, by storing things such as the platform strings, xcode app paths, whether or not to use beta versions, etc as variables. So I can update these settings globally. I've hit a roadblock in updating my jazzy build script, because I can't pass these variables into the jazzy config file

Given how key this string is to Xcode/iOS scripts, is there anyway to build a custom exception for this one arg in some way? e.g. pass in a JSON string that gets decoded inside jazzy etc. It would be amazing to leverage these variables in my jazzy action

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions