我正在将一个可用的 CircleCI 工作流转移到 Github Actions。
我在跑:
runs-on: ubuntu-latest
container:
image: google/cloud-sdk:latest
Run Code Online (Sandbox Code Playgroud)
我运行以下命令:
echo ${{ secrets.GCLOUD_API_KEYFILE }} > ./gcloud-api-key.json
Run Code Online (Sandbox Code Playgroud)
在运行此命令之前,尚未创建gcloud-api-key.json。此命令在 CircleCI 中有效,但在 Github Actions 中出现错误:
/__w/_temp/asd987as89d7cf.sh: 2: /__w/_temp/asd987as89d7cf.sh: type:: not found
有谁知道这个错误是什么意思?
| 归档时间: |
|
| 查看次数: |
508 次 |
| 最近记录: |