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

GitHub Action to compile/verify nef Playground #135

Open
miguelangel-dev opened this issue Mar 17, 2020 · 4 comments
Open

GitHub Action to compile/verify nef Playground #135

miguelangel-dev opened this issue Mar 17, 2020 · 4 comments
Assignees

Comments

@miguelangel-dev
Copy link
Member

We want to publish a GitHub action to let users compile its nef Playgrounds (with 3rd-party libraries)

@miguelangel-dev miguelangel-dev self-assigned this Mar 28, 2020
@bitomule
Copy link

bitomule commented Apr 14, 2020

I did a test with steps that may be helpfull on creating the github action.

I added this steps:

  • Install homebrew
  • Install nef
  • Run nef generate md (nef markdown --project Playground.app/ --output /)

And it failed with "Process completed with exit code 255"

Run nef markdown --project Playground.app/  --output /
Get playgrounds in 'Playground'... ✓
Get pages in playground 'Playground'... ✓
	• Processing page Readme... ✓
	• Processing page Example... ✓
	• Processing page Testing... ✓
☠️ rendering Xcode Playgrounds from 'Playground.app'
##[error]Process completed with exit code 255.

Any ideas?

@miguelangel-dev
Copy link
Member Author

miguelangel-dev commented Apr 14, 2020

Ey! Great @bitomule: maybe you do not have write-permissions in /, try to use . or a different path.

On another hand, I have started to work on this, but right now I have stopped, but maybe you can test it and continue from that point - I will invite you to the repo (it is in an experimental phase).

@bitomule
Copy link

Yeah, changing to . worked, my mistake. Right now I have an action generating md files and a step that even moves readme to main repo README. This is crazy useful to have playgrounds and docs in projects generated in github for free.

@miguelangel-dev
Copy link
Member Author

miguelangel-dev commented Apr 14, 2020

I am glad it is helpful! Yep, that's the idea, keep your docs verified (you can compile the Playground before to generate the markdown files) and updated! ^^

When you integrate nef to your CI it starts to be awesome!

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