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

Add link to latest built artifact #591

Closed
PavelBal opened this issue Jan 8, 2024 · 3 comments
Closed

Add link to latest built artifact #591

PavelBal opened this issue Jan 8, 2024 · 3 comments
Assignees

Comments

@PavelBal
Copy link
Member

PavelBal commented Jan 8, 2024

As we used AppVeyor, we could always download the latest build of the package by going to the "Artifacts" tab. Can we add the link to the latest artifact built with GitHub actions from the main branch to the README?

image

@Felixmil
Copy link
Collaborator

Felixmil commented Jan 8, 2024

The artifact corresponding to this is the built_package.zip file which contains the built version of our package and is generated on successful runs of this action.

image

image

According to this issue, there is no way to get a permalink for an artifact created by an action using GitHub API currently.

But we can use this site which provides an external alternative to permalinks: https://nightly.link

By pasting the link to the workflow that is in charge of generating the built package into this site, it generates the following link Which will always redirect to download the latest successful build of main branch. https://nightly.link/esqLABS/esqlabsR/workflows/R-CMD-check.yaml/main/built_package.zip

How do we want to provide it in the README ? Here's our options:

  • A simple link in text:

    Download the latest build here.

  • A download button

    Download Latest Build

    [![Download Latest Build](https://custom-icon-badges.demolab.com/badge/-Download-blue?style=for-the-badge&logo=download&logoColor=white "Download Latest Build")](https://nightly.link/esqLABS/esqlabsR/workflows/R-CMD-check.yaml/main/built_package.zip)
    

@PavelBal
Copy link
Member Author

PavelBal commented Jan 8, 2024

A button looks nice

@Felixmil
Copy link
Collaborator

Implemented in #592

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