Difference between revisions of "GitHub Actions"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
::<code>uses: [[actions/upload-artifact@v2]]</code>
 
::<code>uses: [[actions/upload-artifact@v2]]</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>[[actions/setup-node@v3]]</code>
+
::<code>uses: [[actions/setup-node@v3]]</code>
::<code>[[actions/setup-python@v2]]</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: [[serverless]]/github-action@master</code>
 
::<code>uses: [[serverless]]/github-action@master</code>
 
::<code>[[if:]]</code>
 
::<code>[[if:]]</code>

Revision as of 12:58, 25 January 2023

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:

  • Can be enabled, disabled or restricted to specific actions. [3]
  • Self hosted runners can be configured


name:
on:
workflow_dispatch:
jobs:
schedule:
run:
uses:
uses: actions/checkout@v3
uses: actions/upload-artifact@v2
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: serverless/github-action@master
if:
runs-on:
steps:
deploy:
env:
needs:
GitHub Actions: template:

Execute GitHub Actions manually

Activities

Changelog / announcements

Related terms

See also

  • 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: