Technology
GitHub launches GitHub Actions for developers
- GitHub has announced a new feature called GitHub Actions, which will allow users to build, share and execute code directly on the site.
- This feature cuts down on the steps developers need to take when running code, such as installing software files and testing the code.
- Actions is launching in a limited public beta on Tuesday.
Executing code on GitHub, essentially a Google Docs for code, is about to get easier for programmers — the company is releasing an “Apple Shortcuts, but for code.”
GitHub, which hosts open-source projects, just announced a new feature, called GitHub Actions, to cut down on the steps developers need to take to execute their code, no matter what language they use. This new feature arrives as Microsoft is preparing to acquire GitHub. Before, developers working on GitHub would have to take many manual steps to build, run and deploy their projects. In many cases, they have to download environments, run the project for testing and more.
With GitHub Actions, developers will be able to build, share and execute code directly on the site by creating an action for a step that they need to take, connecting these steps with drag-and-drop, and running the project with a simple click of a button.
“We can take a single application and deploy it to five different clouds,” Sam Lambert, Head of Platform at GitHub told Business Insider. “You can press a button and deploy your application. You can page and text your team, generate documentation and build and test your code. It’s an Apple Shortcuts, but for code.”
GitHub Actions is being launched Tuesday in a limited public beta.
Here’s a quick look at how it works:
Users can build, package, release, update, and deploy their project, all on the GitHub site. They can do all this in a space called a “workflow.” For example, a user can create a workflow for building and testing.
Screenshot
Screenshot
Each step that developers need to take for this workflow is called an “action.” The user can set up actions for installing and testing and connect one action to another by dragging and dropping a line to link them. Before GitHub Actions, if a developer wanted to run a project, they needed to install the required packages (or a set of software files) and test the code themselves.
Screenshot
Screenshot
The person creating the workflow can then commit it to the project.
Screenshot
Users can also create a text file instead of using the visual editor to create a workflow.
Screenshot
Once users create a pull request, or take the code for modifying, the packages will be automatically installed and tested for users when they run this workflow.
Screenshot
With GitHub Actions, users can also publish and send alerts every time there’s a new release and deploy production-ready code.
“There’s infinite possibilities and amazing flexibility,” Lambert said. “It’s so open-ended and flexible. All I want to do is sit on GitHub and Twitter and watch people build this stuff.”
GitHub
Get the latest Microsoft stock price here.
-
Entertainment6 days ago
‘Only Murders in the Building’ Season 4 ending explained: Who killed Sazz and why?
-
Entertainment7 days ago
Polling 101: Weighting, probability panels, recall votes, and reaching people by mail
-
Entertainment5 days ago
When will we have 2024 election results online?
-
Entertainment6 days ago
5 Dyson Supersonic dupes worth the hype in 2024
-
Entertainment4 days ago
Halloween 2024: Weekend debates, obscure memes, and a legacy of racism
-
Entertainment5 days ago
Social media drives toxic fandom. Is there a solution?
-
Entertainment4 days ago
Is ‘The Substance’ streaming? How to watch at home
-
Entertainment4 days ago
M4 MacBook Pro vs. M3 MacBook Pro: What are the differences?