Giter Club home page Giter Club logo

demo-workflow-syntax's Introduction

๐Ÿš€ Workflow syntax

Demo repository for basic GitHub Actions workflow syntax.

โ— This is a template repository

  • Please click Use this template to clone the repo into your user account or a different organization that you own, and run the demo from there
  • If you're unable to use your personal account or a different organization, feel free to use this one. Just make sure to complete the Cleanup steps afterwards ๐Ÿก

Usage

Creating a workflow

  1. Click on the Actions tab
  2. If there are already existing workflows, click New workflow to navigate to the Starter workflow overview
  3. Select the Simple workflow
  4. Walk through the syntax (events, jobs, runner, steps, ...)
  5. Give the workflow a distinct file name and workflow name
  6. Commit the workflow into a new branch and create the PR

Workflow logs and other features

  1. Observe the PR view which should show the workflow triggering (as long as the pull_request event was not removed from the workflow)
  2. Show the Checks tab inside the PR, which should show the workflow log
  3. Once the workflow has completed, merge the PR and delete the branch
  4. Click on the Actions tab and click on the current workflow run
  5. Show the features and information available in the workflow run GUI
    • Visualization, re-running workflows, downloading logs, searching, toggling time stamps, etc.
    • In the log, expand the Set up job --> Virtual environment, and navigate to the Included software link to show the VM spec of the runner
  6. Show how to trigger the workflow manually (available as long as the workflow_dispatch event was not removed from the workflow)
  7. Show how to disable the workflow

๐Ÿก Cleanup

  1. If the workflow was run in this repository, perform the following steps:
    • Ensure PRs are closed/merged
    • Ensure any new branches are deleted
    • Delete the workflow and commit to the main branch

demo-workflow-syntax's People

Contributors

zaracheema avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.