我已经使用 github actions 有一段时间了,但今天我的部署开始失败。以下是 github 操作日志中的错误
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git
Directory: /home/runner/work/stackstream-fe/stackstream-fe
Output:
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Run Code Online (Sandbox Code Playgroud)
经过调查,我的 yml 文件中的以下部分似乎导致了该问题。
- name: Installing modules
run: yarn install
Run Code Online (Sandbox Code Playgroud)
我已经查看了此更改日志,但似乎无法理解这个问题。
其他详细信息:服务器:EC2 实例 Github 操作步骤:
steps:
- name: Checkout
uses: actions/checkout@v2
- id: vars
run: |
if [ '${{ github.ref }}' == 'refs/heads/master' ]; then echo "::set-output name=environment::prod_stackstream" ; echo "::set-output name=api-url::api" ; elif [ '${{ github.ref …Run Code Online (Sandbox Code Playgroud) 键入检查的Object在那里类型检查编译时发生dynamic数据类型在运行时发生那么我们如何可以框一个动态值到对象?
dynamic dynamic = "This is dynamic data type";
Object obj = dynamic;
Console.WriteLine(obj);
Run Code Online (Sandbox Code Playgroud)