Questions tagged [github-actions]
GitHub Actions allows you to easily automate your software workflows. Use this tag for questions regarding help on creating a workflow. If you need help on GitHub Actions in general, consider contacting GitHub by emailing their support (support.github.com/contact) or by asking in GitHub's Community Forum (github.com/orgs/community/discussions.
github-actions
10,865
questions
0
votes
0
answers
3
views
Github actions job being cancelled due to (likely) concurrency issues?
Here is my workflow file:
name: Run Tests
on:
push:
branches:
- main
- 'dev'
- 'unstable'
jobs:
run-unit-tests:
concurrency:
...
0
votes
0
answers
8
views
Show CI/CD Status overview of all repositories
I created a GitHub Organization with 10 Repositories. Eeach of them has own CI/CD GitHub Actions Pipeline.
The Problem is, if something not work on staging, I need to open each repository manualy and ...
0
votes
0
answers
13
views
Github Actions: Array String as an input from a env variable
I am using docker/build-push-action@v5 and need to pass build-contexts from variable. Its type is List of strings: https://github.com/docker/build-push-action?tab=readme-ov-file#inputs
If I specify ...
0
votes
0
answers
6
views
Why do GitHub action jobs block when running maven-surefire-plugin?
I am trying to parallelize the execution of tests using the maven-surefire-plugin in a GitHub action. The action looks like this:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, ...
0
votes
0
answers
8
views
Github Action Docker Build Segmentation fault for ARM64/v8
I am trying to build a docker image and publish it to Github Container Registery that can be started on my Raspberry Pi with Ubuntu 22.04, ARM64/v8.
Build for amd64 forks perfectly, but whenever i ...
0
votes
1
answer
7
views
How to create multiline text file in Forgejo (using Github Actions syntax)?
I'm trying to setup runner on Forgejo instance (which is Gitea fork), it uses Github Actions syntax.
I have following yaml file:
name: Android CI
on: [push]
jobs:
build:
runs-on: high
...
-1
votes
0
answers
22
views
'npm run build' failed in Github actions and frontend-maven-plugin for Java spring-boot app
I am building a monolithic app using Java spring-boot and Reacjs for UI. My repository is hosted on Github and I am using Github Actions to build the repo on every commit.
I am using the frontend-...
0
votes
0
answers
10
views
GitHub Actions Self-Hosted Runner Build code
I have following that needs to be executed through a self-hosted runner.
MSBuild HelloWorldCustomRunner.sln /property:Configuration=Release /t:Clean;Build
I keep getting the below error:
Build is not ...
0
votes
0
answers
11
views
GitHub Action uploading artifacts -fails to see files
I'm having an issue trying to upload artifacts from cypress (e2e) tests in a GitHub Action. Where the issue is likely because I'm not clear on the GitHub Action syntax.
name: Test cypress action
on:
...
1
vote
2
answers
22
views
Building react app with github actions then pushing build to digital ocean apps
I am trying to build my react app on github actions then deploy it to digital oceans app platform. It keeps building but doesn't seem to actually be making changes, here is my actions script. I'm also ...
-1
votes
1
answer
37
views
Getting a timeout only in GitHub Actions when trying to use SQL Server with TestContainers
This is my first time trying to use TestContainer. I am using it to make sure the tests run on a fresh database. This works with Docker Desktop locally and runs quite fast. I am now testing to see how ...
0
votes
1
answer
14
views
Adding github secrets to CI/CD actions to Vercel deployment
I want to build and deploy my NextJS app to Vercel with environments from github secrets (not from env file or from vercel directly).
Here is my workflow (a development one):
on:
push:
branches:
...
-1
votes
0
answers
17
views
Invalid yaml syntax on github-actions [duplicate]
I am trying to setup a github action but I have an invalid yaml syntax on line 20 run: echo "Merged PR detected: ${{ github.event.pull_request.head.ref }}":
name: Auto Delete Feature Branch
...
0
votes
0
answers
10
views
Issue with Saving Yarn Cache on Self-Hosted Runner with Setup-Node action
Currently, I'm encountering a problem with saving the Yarn cache using the setup-node action.
The error:
Failed to save: Unable to reserve cache with key
node-cache-macOS-yarn-...
-1
votes
0
answers
9
views
github action | azure login
I'm new to this trying to build and deploy new workflow from which build and deploy the react code into azure web service - build part is working fine however, there is an error during the deploy part ...