【发布时间】:2021-09-01 20:59:59
【问题描述】:
我正在将有效的 CircleCI 工作流程转移到 Github Actions。
我在跑步:
runs-on: ubuntu-latest
container:
image: google/cloud-sdk:latest
我运行以下命令:
echo ${{ secrets.GCLOUD_API_KEYFILE }} > ./gcloud-api-key.json
在运行此命令之前,gcloud-api-key.json 尚未创建。此命令在 CircleCI 中有效,但在 Github Actions 中出现错误:
/__w/_temp/asd987as89d7cf.sh: 2: /__w/_temp/asd987as89d7cf.sh: type:: not found
有人知道这个错误是什么意思吗?
【问题讨论】:
标签: github-actions