About 9,160,000 results
Open links in new tab
  1. Accessing environment variable in github actions - Stack Overflow

    Feb 18, 2024 · I am building a github action which requires these URLs, I created environments under settings of my github repo and added variable name as URL in all 3 environments.

  2. GitHub Actions: Does the IF have an ELSE? - Stack Overflow

    GitHub Actions doesn't have else statement to run a different command/action/code. But you're right, all what you need to do is to create another step with reversed if condition.

  3. GitHub Actions: how can I run a workflow created on a non …

    Aug 11, 2020 · You can run a workflow that is still in development in a branch branch-name from the command line, with the GitHub CLI. The documentation says: To run a workflow on a …

  4. Get current date and time in GitHub workflows - Stack Overflow

    Mar 31, 2020 · I have a GitHub workflow for releasing nightly snapshots of the repository. It uses the create-release action. This is how the workflow file looks right now: name: Release Nightly …

  5. In a GitHub Action how to conditionalize a step based off the …

    May 3, 2022 · 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 and then in the …

  6. github - How to share a calculated value between job steps?

    Sep 6, 2019 · Is there a DRY way to calculate and share a value in multiple job steps with GitHub Actions? In the below workflow, echo ${GITHUB_REF} | cut -d'/' -f3-${GITHUB_SHA}` is …

  7. Github Actions - trigger another action after one action is …

    Jul 6, 2020 · According to GitHub Actions documentation a single YAML file is called a workflow (not an action) and consists of jobs. Jobs contain a sequence of steps (including actions) that …

  8. GitHub Actions: How to call a reusable workflow as a step?

    Mar 14, 2023 · I have a main GitHub Actions workflow that is triggered via the workflow_dispatch event, and a reusable workflow that is triggered via the workflow_call event. Is it possible to …

  9. yaml - Read JSON file in GitHub Actions - Stack Overflow

    May 20, 2020 · I want to read a JSON file and use a property in a string in a GitHub Actions YAML file. How do I do this? (I want the version of the package.json.)

  10. How to get the current branch within GitHub Actions?

    Sep 21, 2019 · I'm building Docker images with GitHub Actions and want to tag images with the branch name. I found the GITHUB_REF variable, but it results in refs/heads/feature-branch-1 …