【发布时间】:2020-04-15 09:28:56
【问题描述】:
已创建一个项目并将其放置在 Github 上。我试图通过构建 Angular-cli 项目来探索 Github Actions。
githubAction的.yml文件如下,
steps:
- uses: actions/checkout@v1
- name: Install NPM
run: npm install
- name: Update Npm
run: npm update
- name: Typescript compiler
uses: iCrawl/action-tsc@v1
- name: NpM angular CLI
uses: npm install angular-cli
- name: Build
run: npm build
然后在构建时出现以下错误,
The pipeline is not valid. .github/workflows/main.yml (Line: 19, Col: 13): Expected format {org}/{repo}[/path]@ref. Actual 'npm install angular-cli',Input string was not in a correct format.
【问题讨论】:
标签: github github-actions