GitHub Action 自动构建 并release githubgit开源编程算法打包 项目的构建流程是在项目git push --tags的时候,触发 workflow,通过Github Actions编译出来Windows、Linux、macOS三个操作系统对应的 64 位可执行文件,再根据tag name和tag message来创建对应的Github Release,并将编译好的文件上传 yiyun 2022/04/01 12.2K0...
Example workflow - create a release On everypushto a tag matching the patternv*,create a release: on:push:#Sequence of patterns matched against refs/tagstags: -'v*'#Push events to matching v*, i.e. v1.0, v20.15.10name:Create Releasejobs:build:name:Create Releaseruns-on:ubuntu-latestst...
create-release: 用于创建 release upload-release-asset: 用于上传资源到对应的 release 中 补充这两个官方Action目前已经归档,停止维护了 可以使用下方代替 softprops/action-gh-release: 📦 GitHub Action for creating GitHub Releases 项目的构建流程是在项目git push --tags的时候,触发 workflow,通过Github Actions...
# main.yml# Workflow's namename:Build Electron App For Win/Mac# Workflow's triggeron:push:tags:-'v*.*.*'# Workflow's jobsjobs:# job's idrelease:# job's namename:build and release electron app# the type of machine to run the job onruns-on:${{ matrix.os }}# create a build ...
Create Release PR#594:Pull request#3163closed bykaylareopelle update-default-source-spacing May 1, 2025 18:293s Merge pull request #3163 from newrelic/update-default-source-spacing Scheduled Continuous Integration#2548:Commit4f6f260pushed bykaylareopelle ...
安装依赖包, 编译, 创建release,上传压缩包到release中 编译使用这个 会比较快一些 ./scripts/build-static -s 其实这个命令编译了两次,有点坑,一次是为了压缩包而编译,另外一次是为了环境部署编译 name: CI on: push: tags: -'*'# A workflow run is made up of one or more jobs that can run sequenti...
-run:echo"???️ The workflow is now ready to test your code on the runner." -name:List files in the repository run:| ls ${{ github.workspace }} -run:echo"??? This job's status is ${{ job.status }}." 1. 2. 3. 4....
# main.yml# Workflow's namename:Build Electron App For Win/Mac# Workflow's triggeron:push:tags:-'v*.*.*'# Workflow's jobsjobs:# job's idrelease:# job's namename:build and release electron app# the type of machine to run the job onruns-on:${{ matrix.os }}# create a build ...
concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs.<job_id>.outputs You can use jobs.<job_id>.outputs to create a map of outputs for a job. Job outputs are available to all downstream jobs that depend on this job. For more information on...
You and anyone with access to the reusable workflow can then call the reusable workflow from another workflow. Reusing workflows avoids duplication. This makes workflows easier to maintain and allows you to create new workflows more quickly by building on the work of others, just as you do with...