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

Nightly builds #56

Closed
thorsten opened this issue Sep 29, 2024 · 7 comments · Fixed by #63
Closed

Nightly builds #56

thorsten opened this issue Sep 29, 2024 · 7 comments · Fixed by #63
Labels
enhancement New feature or request
Milestone

Comments

@thorsten
Copy link

PIE looks quite promising, thank you very much for starting the project. What about providing a nightly build for a fresh dev release every day?

@asgrim
Copy link
Collaborator

asgrim commented Sep 29, 2024

Hey @thorsten we do have a GitHub Action whose build artefact is the PHAR build, e.g. https://github.com/php/pie/actions/runs/11029347118#artifacts although it's a bit of a faff to get to (i.e. find the latest commit, find the pipeline for it, go to artefacts, download and extract etc) so maybe there could be some improvements to find 👍

@thorsten
Copy link
Author

Thanks for the fast response @asgrim, I followed the README and I didn't see any releases on https://github.com/php/pie/releases.

@asgrim
Copy link
Collaborator

asgrim commented Sep 29, 2024

Yeah there will be 😂 pre-empting the process a little, we're not far off tagging a first alpha type release I think!

@thorsten
Copy link
Author

Awesome!

@asgrim
Copy link
Collaborator

asgrim commented Sep 30, 2024

Note to self:

  • This API call will get the download URL: curl -s "$(curl -s "https://api.github.com/repos/php/pie/actions/workflows/continuous-integration.yml/runs?per_page=1&branch=main&event=push&status=success" | jq -r '.workflow_runs[0].artifacts_url')" | jq -r '.artifacts[0].archive_download_url'
  • However, to download the actual archive you need to be authenticated (you get 403 if you try to curl the URL output from the above command if authenticated)

@asgrim asgrim added the enhancement New feature or request label Sep 30, 2024
@asgrim asgrim closed this as completed in #63 Oct 3, 2024
@asgrim
Copy link
Collaborator

asgrim commented Oct 3, 2024

Nightly PHAR is now linked too 👍

@thorsten
Copy link
Author

thorsten commented Oct 4, 2024

Thanks, works perfect! Now I have to wait for #32

@asgrim asgrim added this to the 0.1.0 milestone Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants