Category "github-actions"

How to cache yarn packages in GitHub Actions

I am using GitHub Actions to build my TypeScript project. Everytime I run action I am waiting 3 minutes for all dependencies to get installed. Is there way to

GitHub Actions - Specify Multiple Tags with docker/build-push-action@v2

Is there a way to specify multiple tags when using docker/build-push-action@v2? I tried specifying multiple tags separated by a space or comma and they both fai

How do I use an env file with GitHub Actions?

I have multiple environments (dev, qa, prod) and I'm using .env files to store secrets etc... Now I'm switching to GitHub Actions, and I want to use my .env fil

Github workflow event trigger synchronize not working?

I have the following github workflow definition: name: Build on: pull_request: types: [ opened, edited, synchronize ] paths-ignore:

The unauthenticated git protocol on port 9418 is no longer supported

I have been using github actions for quite sometime but today my deployments started failing. Below is the error from github action logs Command: git Arguments:

Github Action trigger on release not working on tag

I've created a "publish" workflow in new repository that publish my project on new release with this trigger on: release: types: - created In my loca

"An invalid argument was supplied" when attempting to create self-hosted GitHub action runner

I'm attempting to go through the setup process for self-hosted github runners and I'm running into an issue when attempting to start the configuration process.

How do I get the output of a specific step in GitHub Actions?

I have this GitHub Actions workflow which runs tests, but now I am integrating slack notification in it. I want to get the output of the Run tests step and send

Add an Ignore file to github CODEOWNER

I have a simple repo that has branch protection / CODEOWNERs set to: * @team Is it possible to add a file / folder to CODEOWNER to make it be ignored? Ive trie

In a Github Action how to conditionalize a step based off the previous step's output?

Building a Github action based on the commit message I'm trying to base a step on whether the commit message contains a particular string, set it to a variable

Only run job on specific branch with GitHub Actions

I'm relatively new to GitHub Actions and I have 2 jobs–one that runs my tests, and one that deploys my project onto a server. Obviously I want the tests

Invalid expression errors when building .NET Framework solution with Github Actions

I'm trying to build and run test for my solution in Github Actions. App is written in .NET Framework 4.7.2 and when I build or test it locally with the same msb

Is there a way to set path for docker build with the github action plugin docker/build-push-action@v1

I have a docker build action as below - name: build-push uses: docker/build-push-action@v1 with: username: ${{ DOCKER_USERNAME }

az cli deployment fails with Python error

I am deploying ADF linked templates from ADLS through GitHub Actions and pipeline fails withy generic Python error: ERROR: 'str' object has no attribute 'get' I

JUnit tests fails on GitHub Actions but not locally

I am trying to run JUnit tests on GitHub Actions but some of it fails. Locally all tests passed. On my PC I am using Ubuntu 20.04 with OpenJDK 1.8 (275), on CI

How to use curl's response in other run commands in github actions

Trying to get the response from curl and use it in subsequent commands. Not sure what should be the correct syntax here. - name: Get Token run: |

ERROR: error fetching storage source: generic::unknown... When deploying GCP Cloud Function via GitHub Actions

I'm deploying a Firebase Cloud Function via this GitHub Action. When I deploy from my own machine using a service account it works fine. When running the Action

Docker pulling unauthorized - Docker and Github actions

my deploy script is as follows: - name: Log in to GitHub Packages run: echo ${PERSONAL_ACCESS_TOKEN} | docker login ghcr.io -u ${{ secrets.NAMESPACE }} --

NPM CI error bindings not accessible from watchpack-chokidar2:fsevents

When I run npm ci on Github Actions I got the error: Run npm ci npm ERR! bindings not accessible from watchpack-chokidar2:fsevents npm ERR! A complete log of t

Windows. How set GIT_TERMINAL_PROMPT=1

Now I have GIT_TERMINAL_PROMPT=0 . And if I do git clone https://github.com/some/non-existing-repo - will fail without prompting for username & password. I