Difference between revisions of "GitHub Actions"
Jump to navigation
Jump to search
↑ 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
Line 18: | Line 18: | ||
::<code>[[uses:]]</code> | ::<code>[[uses:]]</code> | ||
::<code>uses: [[actions/checkout@v3]]</code> | ::<code>uses: [[actions/checkout@v3]]</code> | ||
− | ::<code>uses: actions/upload-artifact@v2</code> | + | ::<code>uses: [[actions/upload-artifact@v2]]</code> |
− | ::<code>uses: actions/setup- | + | ::<code>uses: [[actions/setup-java@v2]]</code> <ref>https://github.com/actions/setup-java</ref> |
− | ::<code>uses: actions/setup- | + | ::<code>uses: [[actions/setup-node@v2]]</code> <ref>https://github.com/actions/setup-node</ref> |
::<code>uses: [[serverless]]/github-action@master</code> | ::<code>uses: [[serverless]]/github-action@master</code> | ||
::<code>[[if:]]</code> | ::<code>[[if:]]</code> |
Revision as of 07:50, 4 April 2022
wikipedia:Github Actions (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
- Homepage: https://docs.github.com/en/actions
- Configuration:
.github/workflows/
on:
jobs:
schedule:
run:
uses:
uses: actions/checkout@v3
uses: actions/upload-artifact@v2
uses: actions/setup-java@v2
[4]uses: actions/setup-node@v2
[5]uses: serverless/github-action@master
if:
workflow_dispatch:
runs-on:
steps:
deploy:
env:
Activities
- Read https://github.com/github/actions-cheat-sheet/blob/master/actions-cheat-sheet.adoc
- Read https://docs.github.com/en/actions/learn-github-actions
- Read GitHub Actions Quickstart https://docs.github.com/en/actions/quickstart
Changelog / announcements
- Aug 2021 macOS 11 available https://github.blog/changelog/2021-08-16-github-actions-macos-11-big-sur-is-generally-available-on-github-hosted-runners/. Related:
runs-on:
Related terms
- AWS CloudFormation "Deploy CloudFormation Stack" Action for GitHub Actions
Actions/checkout@v3
- Azure Pipelines: Azure Pipelines: task:
See also
- GitHub Actions,
act, .github/workflows/
,~/actions-runner/
,svc.sh
,deploy:, run:, runs-on:
,uses:
,steps:
,jobs:
,on:, env:, uses:, script:, continue-on-error:, template:, aws-actions, inputs:
,GITHUB_ENV, needs:, github.
, GitHub runner, my-docker-publish.yml, GitHub Actions variables, GitHub Actions contexts, GitHub Actions Importer, If:, SLSA, Actions Runner Controller (ARC),$GITHUB OUTPUT
,notify:
, Marketplace,GITHUB_TOKEN
- GitHub, GitHub Actions, GitHub Actions Runner, Events, CodeQL, GitHub Desktop, GitHub organization, base permissions, GitHub Copilot,
.gitignore
, GitHub Codespaces, GitHub Marketplace, GitHub Apps, GitHub Enterprise Server, GitHub CLI (gh
), Dependabot, GitHub security,.github/
, GitHub code scanning, GitHub Pages, GitHub Packages, GitHub Advanced Security, GitHub Mobile, GitHub Importer, GitHub versions, SSH keys - Continuous integration (Continuous delivery): GitLab CI, TeamCity, Travis CI, Jenkins, CloudBees, AWS CodePipelines, Azure Pipelines, XebiaLabs, Codefresh, GitHub, Pipeline, CircleCI, JFrog Pipelines, Concourse CI, Dagger, Bitbucket Pipelines, Buildkite, Google Cloud Build
Advertising: