GitHub Launches GitHub Actions for Developers



[ad_1]

The code execution on GitHub, which is essentially a Google Docs document for code, is about to become easier for programmers: the company publishes a "Apple Shortcuts, but for the code".

GitHub, which hosts open source projects, has just announced a new feature called GitHub Actions, which reduces the number of steps developers must take to execute their code, regardless of the language used. This new feature comes as Microsoft prepares to acquire GitHub. Previously, developers working on GitHub had to follow many manual steps to create, execute, and deploy their projects. In many cases, they have to download environments, run the project for testing, and so on.

With GitHub Actions, developers will be able to create, share and execute code directly on the site by creating an action for a step to take, linking these steps by dragging and dropping and running the project with a single click. of a button.

"We can take one application and deploy it across five different clouds," said Sam Lambert, platform manager at GitHub at Business Insider. "You can press a button and deploy your application.You can also contact your team via SMS, generate documentation, build and test your code.This is an Apple shortcut, but for code."

GitHub Actions is launched Tuesday in a limited public beta.

Here is a quick overview of how it works:

Users can create, package, publish, update, and deploy their project, all on the GitHub site. They can do all this in a space called "workflow". For example, a user can create a workflow for building and testing.

Screen capture

Screen capture

Every step that developers must follow for this workflow is called an "action". The user can configure actions for installation and testing and connect one action to another by dragging a line to link it. Prior to GitHub's actions, if a developer wanted to run a project, he had to install the necessary packages (or a set of software files) and test the code themselves.

Screen capture

Screen capture

The person creating the workflow can then save it to the project.

Screen capture

Users can also create a text file instead of using the visual editor to create a workflow.

Screen capture

Once users have created an extraction request or taken the code for modification, packages are automatically installed and tested for users when they run this workflow.

Screen capture

With GitHub Actions, users can also publish and send alerts to each new version and deploy code ready for production.

"There are endless possibilities and incredible flexibility," said Lambert. "It's so open and flexible, all I want to do is sit on GitHub and Twitter and watch people build that stuff."

GitHub

[ad_2]
Source link