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
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[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. | [[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: | ||
Line 7: | Line 9: | ||
− | + | ||
− | |||
* [[Python]]: https://docs.github.com/en/actions/guides/building-and-testing-python | * [[Python]]: https://docs.github.com/en/actions/guides/building-and-testing-python | ||
Line 17: | Line 18: | ||
::<code>[[schedule:]]</code> | ::<code>[[schedule:]]</code> | ||
::<code>[[run:]]</code> | ::<code>[[run:]]</code> | ||
− | + | ||
+ | <code>[[uses:]]</code> | ||
::<code>[[uses:]] [[actions/checkout@v4]]</code> | ::<code>[[uses:]] [[actions/checkout@v4]]</code> | ||
::<code>uses: [[actions/upload-artifact@v3]]</code> | ::<code>uses: [[actions/upload-artifact@v3]]</code> | ||
Line 61: | Line 63: | ||
* <code>[[Waiting for a runner to pick up this job]]</code> | * <code>[[Waiting for a runner to pick up this job]]</code> | ||
* [[GitHub Actions helm deployments]] | * [[GitHub Actions helm deployments]] | ||
+ | * [[GitHub Desktop]] | ||
+ | * [[SLSA]] | ||
== See also == | == See also == |
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.
- https://github.com/actions, https://docs.github.com/en/actions
- Configuration:
.github/workflows/
- Images: ghcr.io/actions/actions-runner:latest
Features:
- Can be enabled, disabled or restricted to specific actions. [3]
- Self hosted runners can be configured
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:
Contents
Execute GitHub Actions manually[edit]
gh workflow run CI --ref your-branch
Activities[edit]
- 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
- 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[edit]
- 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[edit]
- AWS CloudFormation "Deploy CloudFormation Stack" Action for GitHub Actions
- Azure Pipelines:
task:
gh actions
- Ubuntu 2-core, Windows 2-core, macOS 3-core
- GitHub Actions variables: https://docs.github.com/en/actions/learn-github-actions/variables
Error: Process completed with exit code 255.
Waiting for a runner to pick up this job
- GitHub Actions helm deployments
- GitHub Desktop
- SLSA
See also[edit]
gh [ auth | repo | secret | issue | workflow | webhook | gh environment | actions | run ] gh auth login, gh pr create, gh --help
- 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
Advertising: