浏览代码

Skip build tests on forks

Scott Lahteine 4 年前
父节点
当前提交
31679640c0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      .github/workflows/test-builds.yml

+ 2
- 0
.github/workflows/test-builds.yml 查看文件

@@ -94,6 +94,8 @@ jobs:
94 94
 
95 95
     - name: Run ${{ matrix.test-platform }} Tests
96 96
       run: |
97
+        # Inline tests script
98
+        [[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
97 99
         chmod +x buildroot/bin/*
98 100
         chmod +x buildroot/share/tests/*
99 101
         export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}

正在加载...
取消
保存