Ajobis a set ofstepsin a workflow that is executed on the samerunner. Each step is either a shell script that will be executed, or anactionthat will be run. Steps are executed in order and are dependent on each other. Since each step is executed on the same runner, you can share ...
一个步骤(steps)要么是一个shell 脚本(script)要么是一个动作(action)。步骤会顺序执行,并彼此独立。因为每一个步骤都在同一个运行器上被执行,所以你可以从一个步骤(step)传递数据到另一个步骤(step) 。 你可以配置一个任务依赖其他任务,默认情况下,任务没有依赖,并行执行。当一个任务需要另外一个任务的时候,...
Each item nested under this section is a separate action or shell script. - uses: actions/checkout@v4 The uses keyword specifies that this step will run v4 of the actions/checkout action. This is an action that checks out your repository onto the runner, allowing you to run ...
首先在项目根目录创建文件夹.github/workflows,然后新建文件deploy.yml,文件内容如下 name:Build and Deployon:push:branches:[master] # 触发任务的分支jobs:deploy:runs-on:ubuntu-lateststeps:-name:Checkout codeuses:actions/checkout@v2-name:Build and run Go programuses:appleboy/ssh-action@masterwith:host...
npm run-script build# react项目的FOLDER为build,vue项目改为dist-name:Deployuses:JamesIves/github-pages-deploy-action@releases/v3with:ACCESS_TOKEN:${{secrets.ACCESS_TOKEN}}BRANCH:gh-pagesFOLDER:build 这里首先第一步为Checkout,用到了一个checkout的action,其作用是拉取你的代码; ...
npm run-script build-name:Deployuses:JamesIves/github-pages-deploy-action@releases/v3with:ACCESS_TOKEN:${{secrets.ACCESS_TOKEN}}BRANCH:gh-pagesFOLDER:buildBUILD_SCRIPT:npminstall&&npmrunbuild 这里使用了一个别人已经写好的 Action : JamesIves/github-pages-deploy-action , Github Action 市场的地址为:...
2. debugger-action 诞生记 周末正好看到 PingCap 有个 Hackathon 的活动,用较短的时间集中完成一个功能。灵感一闪,我周末就用 GitHub Actions 来解决一下 Debug 到想跑路的问题。 看了下TypeScript的语法,凭借之前SaaS全栈开发的一点底子,还有强大的 Google 搜索引擎,就把事情给办了。
action,操作,作业中具体的执行。 步骤 初始化workflow reply checking ./.github/actions/unique-comment init eslint typescript unit test reply result 初始化workflow 在项目中新建文件.github/workflows/check-pull-request.yml,内容如下: name:test check pull requestrun-name:'check pull request #${{ github...
ActionScript is an object-oriented programming language created by Adobe. It is a implementation of ECMAScript used primarily in Flash Player applications. Here are 522 public repositories matching this topic... Language:All Sort:Most stars
使用适用于 Azure CLI 的 GitHub Action。 例如: YAML - name:Deploystartupscriptuses:azure/cli@v2with:inlineScript:| az webapp deploy --src-path ${{ github.workspace }}/src/main/azure/createPasswordlessDataSource.sh --name ${{ env.AZURE_WEBAPP_NAME }}--resource-group ${{ env.RESOURCE_GRO...