Top "Github-actions" questions

GitHub Actions allows you to easily automate your software workflows.

How to get current branch within github actions

I'm building docker images with Github Actions and want to tags images with branch name, I found only GITHUB_REF …

github github-actions
How to apt-get install in a GitHub Actions workflow?

In the new GitHub Actions, I am trying to install a package in order to use it in one of …

github-actions
How do I use Docker with GitHub Actions?

When I create a GitHub Actions workflow file, the example YAML file contains runs-on: ubuntu-latest. According to the docs, I …

docker github-actions
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 …

github github-actions
How to run multiple commands in one Github Actions Docker

What is the right way for running multiple commands in one action? For example: I want to run a python …

docker dockerfile docker-entrypoint github-actions
How do I cache steps in GitHub actions?

Say I have a GitHub actions workflow with 2 steps. Download and compile my application's dependencies. Compile and test my application …

github github-actions
How do I set an env var with a bash expression in GitHub Actions?

In GitHub Actions, I'd like to evaluate a bash expression and then assign it to an environment variable: - name: …

github-actions
Getting current branch and commit hash in GitHub action

I want to build a docker image using a GitHub action, migrating from TeamCity. In the build script, I want …

git github github-actions
Get the current pushed tag in Github Actions

Is there a way to access the current tag that has been pushed in a Github Action? In CircleCI you …

github continuous-integration github-actions
Use GitHub Actions to create a tag but not a release

Currently on my GitHub repository, I have the following workflow that releases a nightly snapshot every day, and uses the …

github github-api github-actions git-tag github-release