[ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: build: name: "Windows OneFLOW MPI Run" runs-on: windows-latest steps: - uses: actions/checkout...
jobs: my_first_job: steps: - name: My first step uses: actions/aws/ec2@main 示例:使用工作流程所在仓库中操作 ./path/to/dir 包含工作流程的仓库中操作的目录路径。 在使用操作之前,必须检出仓库。 jobs: my_first_job: steps: - name: Check out repository uses: actions/checkout@v2 - name: ...
runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executedaspart of the job steps: # Checks-outyour repository under $GITHUB_WORKSPACE, so your job can access it-uses: actions/checkout@v2 # Setup git-name: Setup Git Infomation run:|git config--globaluser.name'lx...
Your workflow contains one or more jobs which can run in sequential order or in parallel. Each job will run inside its own virtual machine runner, or inside a container, and has one or more steps that either run a script that you define or run an action, which is a reusable extension ...
name:"github actions build and deploy gh-pages" #流程名称on: [push] #当对当前仓库push代码的时候触发jobs:build-and-deploy: #脚本名称runs-on: ubuntu-latest #运行在乌班图linux上steps:-name: Checkout #步骤1:checkoutuses: actions/checkout@v2.3.1 #checkout需要引用的依赖with:persist-credentials:...
parallel jobs: # 固定值 # This workflow contains a single job called "build" build: # 任务名称 # The type of runner that the job will run on runs-on: ubuntu-latest #编译环境 # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your ...
Different packages by default run in parallel, and tests within package can be enforced to run in parallel too. Make sure to copy test case data to new variable, why explained here. Official documentation... for _, tc := range tests { tc := tc t.Run(tc.name, func(t *testing.T) ...
https://github.com/actions/starter-workflows/tree/master/ci Copy name: Python package on: [push] jobs: build: runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: python-version: [2.7, 3.5, 3.6, 3.7] steps: - uses: actions/checkout@v1 ...
A parallel, extensible finite element code to simulate convection in both 2D and 3D models. - geodynamics/aspect
Action 基础Github Actions常用Action介绍actions/checkout@v2actions/checkout@v2: 进入到被推送的代码下仓库内容。通常需要以来仓库内容的时候加入,比如:...