Difference between revisions of "GitHub Actions"

From wikieduonline
Jump to navigation Jump to search
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[wikipedia:Github Actions]] ([[2018]]) <ref>https://techcrunch.com/2018/10/16/github-launches-actions-its-workflow-automation-tool/</ref> <ref>https://github.blog/2018-10-16-future-of-software/</ref> allows building [[continuous integration]] and [[continuous deployment]] pipelines for testing, releasing and deploying software without the use of third-party websites/platforms.  
+
[[wikipedia:Github Actions]] (Oct [[2018]]) <ref>https://techcrunch.com/2018/10/16/github-launches-actions-its-workflow-automation-tool/</ref> <ref>https://github.blog/2018-10-16-future-of-software/</ref> allows building [[continuous integration]] and [[continuous deployment]] pipelines for testing, releasing and deploying software without the use of third-party websites/platforms.  
* https://github.com/actions
+
* https://github.com/actions, https://docs.github.com/en/actions
 +
* Configuration: <code>[[.github/workflows/]]</code>
 +
* Images: [[ghcr.io]]/actions/actions-runner:latest
  
 
Features:
 
Features:
 
* Can be enabled, disabled or restricted to specific actions. <ref>https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-specific-actions-to-run</ref>  
 
* Can be enabled, disabled or restricted to specific actions. <ref>https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-specific-actions-to-run</ref>  
* Self hosted runners can be configured
+
* [[Self hosted runners]] can be configured
 +
 
  
  
* Homepage: https://docs.github.com/en/actions
 
* Configuration: <code>[[.github/workflows/]]</code>
 
  
 
* [[Python]]: https://docs.github.com/en/actions/guides/building-and-testing-python
 
* [[Python]]: https://docs.github.com/en/actions/guides/building-and-testing-python
 
+
::<code>[[name:]]</code>
 
::<code>[[on:]]</code>
 
::<code>[[on:]]</code>
::<code>[[jobs:]]</code>
+
::<code>[[workflow_dispatch:]]</code>
 +
::<code>[[GitHub Actions: Jobs:|jobs:]]</code>
 
::<code>[[schedule:]]</code>
 
::<code>[[schedule:]]</code>
 
::<code>[[run:]]</code>
 
::<code>[[run:]]</code>
::<code>[[uses:]]</code>
+
 
::<code>uses: [[actions/checkout@v3]]</code>
+
<code>[[uses:]]</code>
::<code>uses: [[actions/upload-artifact@v2]]</code>
+
::<code>[[uses:]] [[actions/checkout@v4]]</code>
 +
::<code>uses: [[actions/upload-artifact@v3]]</code>
 
::<code>uses: [[actions/setup-java@v2]]</code> <ref>https://github.com/actions/setup-java</ref>
 
::<code>uses: [[actions/setup-java@v2]]</code> <ref>https://github.com/actions/setup-java</ref>
 +
::<code>uses: [[actions/setup-node@v3]]</code>
 +
::<code>uses: [[actions/setup-python@v2]]</code>
 
::<code>uses: [[actions/setup-node@v2]]</code> <ref>https://github.com/actions/setup-node</ref>
 
::<code>uses: [[actions/setup-node@v2]]</code> <ref>https://github.com/actions/setup-node</ref>
 +
::<code>uses: [[pre-commit/[email protected]]]</code>
 +
::<code>uses: [[actions/cache@v2]]</code>
 
::<code>uses: [[serverless]]/github-action@master</code>
 
::<code>uses: [[serverless]]/github-action@master</code>
 +
::<code>[[hashicorp/setup-terraform]]</code>
 
::<code>[[if:]]</code>
 
::<code>[[if:]]</code>
::<code>[[workflow_dispatch:]]</code>
 
 
::<code>[[runs-on:]]</code>
 
::<code>[[runs-on:]]</code>
 
::<code>[[steps:]]</code>
 
::<code>[[steps:]]</code>
 
::<code>[[deploy:]]</code>
 
::<code>[[deploy:]]</code>
 
::<code>[[env:]]</code>
 
::<code>[[env:]]</code>
 +
::<code>[[needs:]]</code>
 +
::<code>GitHub Actions: template:</code>
 +
 +
== Execute GitHub Actions manually ==
 +
* https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
 +
 +
* <code>[[gh workflow run]] CI --ref your-branch</code>
  
 
== Activities ==
 
== Activities ==
Line 33: Line 47:
 
* Read https://docs.github.com/en/actions/learn-github-actions
 
* Read https://docs.github.com/en/actions/learn-github-actions
 
* Read [[GitHub Actions Quickstart]] https://docs.github.com/en/actions/quickstart
 
* Read [[GitHub Actions Quickstart]] https://docs.github.com/en/actions/quickstart
 +
* Read stackoverflow: https://stackoverflow.com/questions/tagged/github-actions?tab=Votes
 +
* Configure a [[GitHub self hosted runner]]
 +
* [[Managing GitHub Actions settings for a repository]]
  
 
== Changelog / announcements ==
 
== Changelog / announcements ==
Line 39: Line 56:
 
== Related terms ==
 
== Related terms ==
 
* [[AWS CloudFormation "Deploy CloudFormation Stack" Action for GitHub Actions]]
 
* [[AWS CloudFormation "Deploy CloudFormation Stack" Action for GitHub Actions]]
* <code>[[Actions/checkout@v3]]</code>
+
* [[Azure Pipelines]]: <code>[[Azure Pipelines: task:|task:]]</code>
* [[Azure Pipelines]]: [[Azure Pipelines: task:]]
+
* <code>[[gh actions]]</code>
 +
* [[Ubuntu 2-core]], [[Windows 2-core]], [[macOS 3-core]]
 +
* [[GitHub Actions variables]]: https://docs.github.com/en/actions/learn-github-actions/variables
 +
* <code>[[Error: Process completed with exit code 255.]]</code>
 +
* <code>[[Waiting for a runner to pick up this job]]</code>
 +
* [[GitHub Actions helm deployments]]
 +
* [[GitHub Desktop]]
 +
* [[SLSA]]
  
 
== See also ==
 
== See also ==
 +
* {{gh}}
 
* {{GitHub Actions}}
 
* {{GitHub Actions}}
* {{GitHub}}
 
* {{CI}}
 
  
 +
[[Category:GitHub]]
 
[[Category:CI]]
 
[[Category:CI]]
[[Category:GitHub]]
 

Latest revision as of 06:29, 17 July 2024

wikipedia:Github Actions (Oct 2018) [1] [2] allows building continuous integration and continuous deployment pipelines for testing, releasing and deploying software without the use of third-party websites/platforms.

Features:



name:
on:
workflow_dispatch:
jobs:
schedule:
run:

uses:

uses: actions/checkout@v4
uses: actions/upload-artifact@v3
uses: actions/setup-java@v2 [4]
uses: actions/setup-node@v3
uses: actions/setup-python@v2
uses: actions/setup-node@v2 [5]
uses: pre-commit/[email protected]
uses: actions/cache@v2
uses: serverless/github-action@master
hashicorp/setup-terraform
if:
runs-on:
steps:
deploy:
env:
needs:
GitHub Actions: template:

Execute GitHub Actions manually[edit]

Activities[edit]

Changelog / announcements[edit]

Related terms[edit]

See also[edit]

  • https://techcrunch.com/2018/10/16/github-launches-actions-its-workflow-automation-tool/
  • https://github.blog/2018-10-16-future-of-software/
  • https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-specific-actions-to-run
  • https://github.com/actions/setup-java
  • https://github.com/actions/setup-node
  • Advertising: