-
Notifications
You must be signed in to change notification settings - Fork 62
Description
I'm starting to experiment with quarto (and r-lib) actions in GitHub Enterprise (GHE). Things are mostly working, with a few snags here-and-there.
I have encountered a snag in the setup action:
quarto-actions/setup/action.yml
Lines 42 to 43 in f8db812
| # download the latest stable release | |
| gh release download --repo quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }} |
As I understand, gh assumes you are working with GitHub and that you have a valid GitHub token.
I can get around the first problem by adding the host:
gh release download --repo github.com/quarto-dev/quarto-cli --pattern ${{ format('*{0}', env.BUNDLE_EXT) }}
But the second problem remains: on GHE, GITHUB_TOKEN works on GHE - not GitHub proper.
I can work around this problem by specifying a version in my action workflow, e.g.:
- name: Set up Quarto
uses: <local-fork>/quarto-actions/setup@v2
with:
version: 1.0.38Could there be a way to make the "stable release" method robust to use on GitHub Enterprise?
To be clear, this is not an urgent issue. The wheels of progress can turn slowly at big companies; we are a long way from rolling anything out internally.
Thanks!