小编ste*_*son的帖子

Github 操作适用于推送但未安排

我正在运行 javascript github 操作示例,当我有

在:[推]

但不是当我有

on:
  schedule:
    - cron:  '*/5 * * * *'
Run Code Online (Sandbox Code Playgroud)

我希望 github 操作每 5 分钟运行一次,但它似乎根本没有运行。

这是我的其余代码供参考

.github/worflows/main.yml

on:
  schedule:
    - cron:  '*/5 * * * *'

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
    - name: Hello world action step
      id: hello
      uses: StephenVNelson/website/@3-experiment-with-actions
      with:
        who-to-greet: 'Mona the Octocat'
    # Use the output from the `hello` step
    - name: Get the output time
      run: echo "The time was ${{ steps.hello.outputs.time }}"
Run Code Online (Sandbox Code Playgroud)

./action.yml …

github-actions

30
推荐指数
2
解决办法
4247
查看次数

标签 统计

github-actions ×1