Search code examples
githubgithub-actions

How can I add progress bar to my github action


I am writing some GitHub actions for my project and I would like to have the orange progress bar to track the progress of my action.

example of github action doc


Solution

  • The progress bar is shown on jobs that define the attribute environment

    Here's an example of how to use it:

    jobs:
      deploy:
        runs-on: ubuntu-latest
        environment: Production
        steps:
          - run: ./deploy.sh --env prod