mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Update 'make compare' for no pret repo and add 'make' for fork (#339)
This commit is contained in:
parent
2ee8ce26da
commit
b44a10a43a
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -29,6 +29,7 @@ jobs:
|
||||||
rm -rf rgbds
|
rm -rf rgbds
|
||||||
|
|
||||||
- name: Compare
|
- name: Compare
|
||||||
|
if: ${{ github.repository_owner == 'pret' }}
|
||||||
run: |
|
run: |
|
||||||
make DEBUG=1 -j$(nproc) compare
|
make DEBUG=1 -j$(nproc) compare
|
||||||
if ! git diff-index --quiet HEAD --; then
|
if ! git diff-index --quiet HEAD --; then
|
||||||
|
@ -37,6 +38,16 @@ jobs:
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Make
|
||||||
|
if: ${{ github.repository_owner != 'pret' }}
|
||||||
|
run: |
|
||||||
|
make -j$(nproc)
|
||||||
|
if ! git diff-index --quiet HEAD --; then
|
||||||
|
echo 'Uncommitted changes detected:'
|
||||||
|
git diff-index HEAD --
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Discord webhook
|
- name: Discord webhook
|
||||||
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
|
if: ${{ github.event_name == 'push' && github.repository_owner == 'pret' }}
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in a new issue