Skip build tests on forks
This commit is contained in:
parent
3469a0a1a0
commit
31679640c0
1 changed files with 2 additions and 0 deletions
2
.github/workflows/test-builds.yml
vendored
2
.github/workflows/test-builds.yml
vendored
|
@ -94,6 +94,8 @@ jobs:
|
||||||
|
|
||||||
- name: Run ${{ matrix.test-platform }} Tests
|
- name: Run ${{ matrix.test-platform }} Tests
|
||||||
run: |
|
run: |
|
||||||
|
# Inline tests script
|
||||||
|
[[ "$GITHUB_ACTOR" == 'MarlinFirmware' ]] || exit 0
|
||||||
chmod +x buildroot/bin/*
|
chmod +x buildroot/bin/*
|
||||||
chmod +x buildroot/share/tests/*
|
chmod +x buildroot/share/tests/*
|
||||||
export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
|
export PATH=./buildroot/bin/:./buildroot/share/tests/:${PATH}
|
||||||
|
|
Reference in a new issue