Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify the output dir ? #85

Open
wangzhaode opened this issue Jan 10, 2023 · 3 comments
Open

How to specify the output dir ? #85

wangzhaode opened this issue Jan 10, 2023 · 3 comments

Comments

@wangzhaode
Copy link

wangzhaode commented Jan 10, 2023

When I used this action build a iOS project using below code:

  - uses: mxcl/xcodebuild@v1
    with:
      platform: iOS
      action: build
      configuration: release
      working-directory: project/ios
      scheme: XXX

I get the below log:

▸ xcodebuild build
.....
▸ Touching XXX.framework (in target 'XXX' from project 'XXX')
▸ Build Succeeded

Now i want to get XXX.framework and upload, but i can't find a way to set the output dir

@mxcl
Copy link
Owner

mxcl commented Jan 10, 2023

Not possible with the current action I believe. This action was designed for CI not CD so that makes sense. Though I agree we should support this.

It should be pretty easy to add it. We are simply a GHA wrapper around running xcodebuild, add the flag in action.yml and use it in the code.

@wangzhaode
Copy link
Author

Thanks! Looking forward to add this arg.

@wangzhaode
Copy link
Author

I submit a pr, please review it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants