Questions tagged [github-ci]
56 questions
23
votes
1 answer
How to access maven dependecy from GitHub Package Registry (Beta)
I uploaded a maven artefact to the GitHub Package Registry (Beta) and want to add it as maven dependency. I'm already in the Regestry-Beta and activated it for my sample HalloMaven project. Also the mvn deploy was succesful, so the artifact is…

Tobse
- 1,176
- 1
- 9
- 22
7
votes
3 answers
Download private module from Github Package Registry via Yarn within a Github Action? Publishing works, but installing is met with '401 Unauthorized'
For various reasons we are stuck using yarn managing our packages so we can't rely on a package-lock.json to use npm with github actions.
We cannot get Yarn to authenticate as part of a github action.
We've got our repo npmrc configured as:…

SebastianG
- 8,563
- 8
- 47
- 111
4
votes
1 answer
Trigger a workflow of another repository and get the artifacts
I have a private GitHub repository named "Test Repo" under an organization. The repository has an action that performs a workflow and uploads an artifact (HTML). I have ten more private repositories named "Dev Repos" under the same organization.
Is…

Sahil Khanna
- 4,262
- 8
- 47
- 72
4
votes
0 answers
PackageReference to project in the same Solution/git repository
At the moment I'm trying to setup a solution with a implementations class library and an abstractions project. I want to have both packages on nuget.org.
Normally when you're just using ProjectReferences, you'd only have to point to the…

Pieterjan
- 2,738
- 4
- 28
- 55
4
votes
1 answer
New GitHub actions run in empty folders
I am working with new GitHub actions, idea of a workflow below is to run when pr is opened or synchronised, it should first check out and install dependencies and afterwards run few yarn scripts
name: PR to Master
on:
pull_request:
branches:
…

Ilja
- 44,142
- 92
- 275
- 498
2
votes
0 answers
github action check if first commit to a branch before doing the action
Currently using the Submit Pull Request where it will automatically create a pull request for the branch but I wanted to it to run only for the first time I committed a branch, how do I stop it from running in other times?
name: create-pull-request…

Arthur
- 318
- 1
- 4
- 11
2
votes
3 answers
How to run a CircleCI job in a github repo only if a file in the same repo is added a new entry?
I have added a job in the existing circleci workflow, I would like to run that job only if a yaml file is changed in the repo. Is there any way to do it ?
TIA.

flux0987
- 69
- 10
2
votes
1 answer
Absolute paths for React app on Github CI with Firebase hosting
After switching to use absolute paths, although my local builds still work fine, Github CI build fails with this error:
./src/App.js
Cannot find module: 'components/Layout'. Make sure this package is installed.
How can I make Firebase/Github CI…

Arash
- 522
- 7
- 24
2
votes
0 answers
How do i update a apt package on github
I have some code on github, and it needs sfml 2.5.1, and i have a github ci set up to compile my code. However, when installing sfml, it installs 2.4.2. I have tried to do sudo apt update, but that doesn't seem to work (cmake says sfml is version…

Ruiqi Li
- 187
- 14
2
votes
2 answers
Install SDK for UWP development in GithubActions CI?
I'm trying to build some UWP libraries and I receive this error:
D:\a\ZXing.Net.Xamarin\ZXing.Net.Xamarin\Source\ZXing.Net.Mobile.WindowsUniversal\ZXing.Net.Mobile.WindowsUniversal.csproj(155,3):
error MSB4019: The imported project "C:\Program…

knocte
- 16,941
- 11
- 79
- 125
2
votes
1 answer
Is there a way to make GitHub CI build the test merge of a PR, rather than the head of the PR branch?
When I create a PR, GitHub CI (via the actions/checkout action) checks out the head of the PR branch. For example, if the head of the PR branch has the SHA cc87b2733dfbe579a4451b2359191a6c512207c3, I see this in the GitHub CI log:
git checkout…

Adam Ralph
- 29,453
- 4
- 60
- 67
1
vote
1 answer
GitHub CI - Docker .env file not found
I want to deploy my Next.JS app with Docker and GitHub CI. The actions is performing as wanted, but the .env.production file does not seem to be found when referencing it in the Dockerfile.
I also tried renaming it to .env or any other filename, I…

Janic
- 65
- 3
1
vote
2 answers
Where does github actions stores the log files?
On my github action, it logged the following:
The full lint text report is located at:
/home/runner/work/honk/honk/app/build/intermediates/lint_intermediate_text_report/debug/lint-results-debug.txt
honk is the name of my repo, but where do I find…

Leonardo Sibela
- 1,613
- 1
- 18
- 39
1
vote
2 answers
How to create a GitHub action to checkout a specific commit in a private repository?
I have been using this documentation called Checkout Actions to build a Continuous Integration workflow using GitHub Actions. In general, it works when dealing with public and private repositories.
This is the template:
- name: Checkout…

Pedro Delfino
- 2,421
- 1
- 15
- 30
1
vote
1 answer
How to view inputs for an action using github-cli while the action is running?
Is there a way to use the github-cli or api to view the inputs of an action while it is running?
I want to allow Github actions to run concurrently. The resources they will manage are determined by the input stack_name. I want to make sure two…

Alex Cohen
- 5,596
- 16
- 54
- 104