我看到了很多用途:
jobs:
myjob:
steps:
- name: checkout
uses: "actions/checkout@something"
- ...
Run Code Online (Sandbox Code Playgroud)
但我找不到这条线的目的是什么:
uses : "actions/checkout@something"
Run Code Online (Sandbox Code Playgroud)
它与此相似吗?
run: git checkout something
Run Code Online (Sandbox Code Playgroud) 感谢github docs ,我已经存储了多行环境变量。
- name: copy
run: |
echo 'CONTENT_ENV<<EOF' >> $GITHUB_ENV
cat README.md >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
Run Code Online (Sandbox Code Playgroud)
我想得到它,但是这段代码给出了一行:
- name: paste
run: echo $CONTENT_ENV > index.md
Run Code Online (Sandbox Code Playgroud)
工作流程显示变量正确存储在 env 中(带空格):
I am trying to intersect a target range with some row, changing dynamically: I was using this :
If Not intersect ([1:7],target) Is Nothing Then
Run Code Online (Sandbox Code Playgroud)
And it works, but :
Dim n as Integer : n = 7
If Not intersect ([1:n],target) Is Nothing Then
Run Code Online (Sandbox Code Playgroud)
Returns Error 424