我正在尝试触发develop
分支上的管道。
此代码有效:
name: develop
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build Debug version
run: |
chmod +x pipelines.sh
./pipelines.sh "build"
此代码无效:
name: develop
on:
push:
branches:
- 'develop'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build Debug version
run: |
chmod +x pipelines.sh
./pipelines.sh "build"
我总是收到此错误消息:
jobs不是有效的事件名称
我该如何格式化我的文件才能使其正常工作?
答案 0 :(得分:2)
temp[, .(Mean = rowMeans(.SD)), by = c('ID1','ID2','ID3','ID4')]
应该与jobs
处于同一级别,并且没有缩进。
on