github actions creator https://github.com/jianboy/github-actions-creator

liuyuqi-dellpc f24021cf18 add Vagrantfile 1 year ago
.devcontainer 22abed4736 add devcontainer 1 year ago
.github 94bae67451 add python publish 1 year ago
R a6250b0159 0 1 year ago
ai 68d0afb400 add build web dockerfile 2 years ago
android-eclipse 7512bd5b36 0 1 year ago
android-studio ce5f82c119 ee 1 year ago
azure ce5f82c119 ee 1 year ago
docker 2dc09ef562 0 1 year ago
docs c7091aaa5e 0 1 year ago
dotnet a6250b0159 0 1 year ago
flutter 09faa7914e add frp 1 year ago
go a6250b0159 0 1 year ago
ios ce5f82c119 ee 1 year ago
java a6250b0159 0 1 year ago
nodejs 2dc09ef562 0 1 year ago
ohters 6d58666c2f 更换目录 1 year ago
php a6250b0159 0 1 year ago
python f24021cf18 add Vagrantfile 1 year ago
ruby a6250b0159 0 1 year ago
rust a6250b0159 0 1 year ago
.gitignore 2dc09ef562 0 1 year ago
CONTRIBUTING.md 67817f0f65 add docs 2 years ago
LICENSE c16aa05bc8 Update 'LICENSE' 5 years ago
README.md 57cd8a3e8c 0 1 year ago
SECURITY.md 2f71868667 add SECURITY.md LICENSE.md and any more. 4 years ago
build.sh 1978731300 Update 'build.sh' 1 year ago

README.md

github-actions

Open in Github Dev

Open in Dev Containers

Open in GitHub Codespaces

前言

本项目总结各语言,场景使用构建配置,包括github action,gitlab ci, jenkins, travis ci, circle ci, drone ci, teamcity, bamboo, codeship, semaphore, buildkite, wercker, screwdriver, concourse, gocd, codefresh, buddy, shippable, bitrise, buddy, azure devops, aws codebuild, google cloud build, codebuild, codepipeline, codecommit, codeartifact, codeg 等等

github action 可以替代 ci/cd 持续集成,比国内各平台基于 Gitlab/Jenkins 要好多了,配置简单。国内 coding.net 良心私有项目可以用之替代github 。

GitHub action 基于 yaml 语法,超级简单,但是 github steps 构建每个步骤不同,有一些action概念,关键词。本项目将基于自身项目架构经验,做一个模板文件,小修改即可立马使用。

详情

runs-on 可选:

名称 已安装
windows-2019 docker/vs 2019/android/ruby/git/go/php/.net/minGW/miniconda/Alibaba Cloud CLI
ubuntu-latest or ubuntu-18.04 ubuntu-16.04 docker/kubect/php/python/java/android/zip/.net/powershell/mysql/ms sql/nodejs/webpack/yarn/gradle/maven/ant/
macos-latest or macos-10.15 php/python/go/java/yarn/git/xcode/android

azure 部分

关于 azure 云平台配合 github 相关 CI/CD配置。

位置 描述
azure.github\workflow\deploy-app-to-azure.yml 部署resources app到azure
azure.github\workflow\set-up-azure-resources.yml 设置resources资源

Vue 部分

使用 github action 自动构建/部署 Vue 项目。

位置 描述

Python 部分

位置 描述

Go 部分

使用 github action 编译/发布 go 项目,以及使用 go web 功能。

位置 描述

PHP 部分

位置 描述

Java 部分

位置 描述

Android 部分

本项目刚启动时候,很多 android 使用 github action 自动构建的很少,本项目将归纳基于 eclipse 和 android studio 等开发的 android 项目使用 github action 自动构建方案。

注意: 使用 eclipse IDE 开发的 andorid 项目,其实采用的是 ant 构建。而采用 android studio IDE 开发的项目采用的是 gradle 构建。

位置 描述
android-studio.github\workflows\main.yml 默认 android studio 开发的项目采用这个 action
android-eclipse.github\workflows\main.yml 采用 eclipse 开发的采用这个 action

20 年 vscode 开源的容器demo项目,修改为国内镜像。如今,使用通用镜像即可。

git clone https://github.com/Microsoft/vscode-remote-try-node
git clone https://github.com/Microsoft/vscode-remote-try-python
git clone https://github.com/Microsoft/vscode-remote-try-go
git clone https://github.com/Microsoft/vscode-remote-try-java
git clone https://github.com/Microsoft/vscode-remote-try-dotnetcore
git clone https://github.com/Microsoft/vscode-remote-try-php
git clone https://github.com/Microsoft/vscode-remote-try-rust
git clone https://github.com/Microsoft/vscode-remote-try-cpp

License

Copyright (c) 2021 liuyuqi.gov@msn.cn. All rights reserved.

Licensed under the Apache 2.0 license.