Remove redundant --build-source flag from build steps

This commit is contained in:
netkas 2024-09-23 13:53:02 -04:00
parent cfbbed5c4a
commit 26d2b0acd8
2 changed files with 6 additions and 6 deletions

View file

@ -46,12 +46,12 @@ jobs:
echo "NCC build directory not found"
exit 1
fi
php "$NCC_DIR/INSTALL" --auto --install-composer
php "$NCC_DIR/INSTALL" --auto
cd .. && rm -rf ncc
- name: Build project
run: |
ncc build --config release --build-source --log-level debug
ncc build --config release --log-level debug
- name: Upload build artifacts
uses: actions/upload-artifact@v4
@ -106,12 +106,12 @@ jobs:
echo "NCC build directory not found"
exit 1
fi
php "$NCC_DIR/INSTALL" --auto --install-composer
php "$NCC_DIR/INSTALL" --auto
cd .. && rm -rf ncc
- name: Install NCC packages
run: |
ncc package install --package="ncc-build/net.nosial.configlib.ncc" --reinstall -y --log-level debug
ncc package install --package="ncc-build/net.nosial.configlib.ncc" --build-source --reinstall -y --log-level debug
- name: Run PHPUnit tests
run: |

View file

@ -9,10 +9,10 @@ all: build
# Build Steps
build:
ncc build --config=$(CONFIG) --build-source --log-level $(LOG_LEVEL)
ncc build --config=$(CONFIG) --log-level $(LOG_LEVEL)
install:
ncc package install --package=$(PACKAGE) --skip-dependencies --reinstall -y --log-level $(LOG_LEVEL)
ncc package install --package=$(PACKAGE) --skip-dependencies --build-source --reinstall -y --log-level $(LOG_LEVEL)
clean:
rm -rf build