How to configure Github Action with GIGET_AUTH #43
martijnhalekor
started this conversation in
General
Replies: 1 comment 2 replies
-
I figured it out! I simply had to add the env property, referring to the secret I stored at GitHub. See example below for the missing piece of the puzzle. - name: Install packages
run: npm ci
env:
GIGET_AUTH: ${{ secrets.GIGET_AUTH }} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am setting up a GitHub Action which runs tests when a PR is created. I am however stuck in the
install
step as my Nuxt project is depending on a layer, hosted as a private GitHub repository. I have added GIGET_AUTH as a secret in the repo settings on github, but the install step returns the following error:Failed to download https://api.github.com/repos/kraftersnl/krafters-ui/tarball/main: 404 Not Found
I have no issue with the Nuxt layer setup when deploying our app, but I can't get the GitHub Action working 😐
My github action:
Am I missing an obvious confguration setting or is the
GIGET_AUTH
token not supported in GitHub Actions?Thanks in advance! 🙏
Beta Was this translation helpful? Give feedback.
All reactions